mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-22 14:24:35 +00:00
fix: Apply offset. (#18957)
This commit is contained in:
parent
497b477be3
commit
a3cfd8a3f0
@ -4152,7 +4152,7 @@ public interface CollectionDAO {
|
||||
@Bind("eventType") String eventType, @Bind("timestamp") long timestamp);
|
||||
|
||||
@SqlQuery(
|
||||
"SELECT json FROM change_event ce where ce.offset > :offset ORDER BY ce.eventTime ASC LIMIT :limit")
|
||||
"SELECT json FROM change_event WHERE offset > :offset ORDER BY offset ASC LIMIT :limit")
|
||||
List<String> list(@Bind("limit") long limit, @Bind("offset") long offset);
|
||||
|
||||
@ConnectionAwareSqlQuery(value = "SELECT MAX(offset) FROM change_event", connectionType = MYSQL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user