Skip to content

Commit

Permalink
[#6516] fix: add @OverRide annotation (#6520)
Browse files Browse the repository at this point in the history
### 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.
  • Loading branch information
AndreVale69 authored Feb 25, 2025
1 parent 4996d0c commit ce5fd51
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public String softDeleteSchemaMetasByCatalogId(Long catalogId) {
+ " WHERE catalog_id = #{catalogId} AND deleted_at = 0";
}

@Override
public String deleteSchemaMetasByLegacyTimeline(
@Param("legacyTimeline") Long legacyTimeline, @Param("limit") int limit) {
return "DELETE FROM "
Expand Down

0 comments on commit ce5fd51

Please sign in to comment.