mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-29 17:49:14 +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); |         @Bind("eventType") String eventType, @Bind("timestamp") long timestamp); | ||||||
| 
 | 
 | ||||||
|     @SqlQuery( |     @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); |     List<String> list(@Bind("limit") long limit, @Bind("offset") long offset); | ||||||
| 
 | 
 | ||||||
|     @ConnectionAwareSqlQuery(value = "SELECT MAX(offset) FROM change_event", connectionType = MYSQL) |     @ConnectionAwareSqlQuery(value = "SELECT MAX(offset) FROM change_event", connectionType = MYSQL) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Siddhant
						Siddhant