Skip to content

Commit

Permalink
[AMORO-3383] fix: unified catalog should support iceberg native creat…
Browse files Browse the repository at this point in the history
…e_changelog_view procedure (#3383)

* unified catalog support iceberg create_changelog_view procedure

* unified catalog support iceberg create_changelog_view procedure
  • Loading branch information
Aireed authored Jan 10, 2025
1 parent dd930a1 commit 8d5e5ef
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public class IcebergSparkFormat implements SparkTableFormat {
private static final Pattern SNAPSHOT_ID = Pattern.compile("snapshot_id_(\\d+)");
private static final Pattern BRANCH = Pattern.compile("branch_(.*)");
private static final Pattern TAG = Pattern.compile("tag_(.*)");
private static final Pattern CHANGES = Pattern.compile("changes");

@Override
public TableFormat format() {
Expand All @@ -45,6 +46,7 @@ public boolean isSubTableName(String tableName) {
|| AT_TIMESTAMP.matcher(tableName).matches()
|| SNAPSHOT_ID.matcher(tableName).matches()
|| TAG.matcher(tableName).matches()
|| CHANGES.matcher(tableName).matches()
|| BRANCH.matcher(tableName).matches();
}

Expand Down

0 comments on commit 8d5e5ef

Please sign in to comment.