This is an automated email from the ASF dual-hosted git repository.

jshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git


The following commit(s) were added to refs/heads/main by this push:
     new ce5fd51363 [#6516] fix: add @Override annotation (#6520)
ce5fd51363 is described below

commit ce5fd5136330aa019f7958ac42a60eaf0cb6f9b4
Author: AndreVale69 <[email protected]>
AuthorDate: Tue Feb 25 13:35:20 2025 +0100

    [#6516] fix: add @Override annotation (#6520)
    
    ### What changes were proposed in this pull request?
    
    The method `deleteSchemaMetasByLegacyTimeline`
    
([SchemaMetaPostgreSQLProvider.java](https://github.com/apache/gravitino/blob/4996d0c50e64fc9a702117a4ded1451867d7b89b/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/SchemaMetaPostgreSQLProvider.java#L86))
    was missing the `@Override` annotation.
    
    ### Why are the changes needed?
    
    Method `deleteSchemaMetasByLegacyTimeline` is missing the override
    annotation.
    
    Fix: #6516
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    No testing is required.
---
 .../mapper/provider/postgresql/SchemaMetaPostgreSQLProvider.java         | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/SchemaMetaPostgreSQLProvider.java
 
b/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/SchemaMetaPostgreSQLProvider.java
index 8e96a7024d..5ba59ac685 100644
--- 
a/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/SchemaMetaPostgreSQLProvider.java
+++ 
b/core/src/main/java/org/apache/gravitino/storage/relational/mapper/provider/postgresql/SchemaMetaPostgreSQLProvider.java
@@ -83,6 +83,7 @@ public class SchemaMetaPostgreSQLProvider extends 
SchemaMetaBaseSQLProvider {
         + " WHERE catalog_id = #{catalogId} AND deleted_at = 0";
   }
 
+  @Override
   public String deleteSchemaMetasByLegacyTimeline(
       @Param("legacyTimeline") Long legacyTimeline, @Param("limit") int limit) 
{
     return "DELETE FROM "

Reply via email to