Skip to content

Conversation

@javsanbel2
Copy link
Contributor

@javsanbel2 javsanbel2 commented Oct 31, 2025

📝 Description

  • Upgrade maven shade plugin to 3.6.1 (was 3.1.1).
  • Upgrade AWS Java SDK in apiary-gluesync-listener to 1.12.792 (was 1.12.276)
  • Send view original texts in apiary-gluesync-listener.
  • Add posibility to only sync views in apiary-gluesync-listener CLI

🔗 Related Issues

@javsanbel2 javsanbel2 requested a review from a team as a code owner October 31, 2025 12:40

private void syncTable(String dbName, String tableName, boolean deleteGluePartitions, boolean verbose)
throws TException {
private void syncTable(String dbName, String tableName, boolean deleteGluePartitions, boolean syncOnlyViews,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a big deal, but if we need to keep adding options to this method, we should consider adding a SyncTableOptions class that encapsulates deleteGluePartitions, syncOnlyViews, and verbose.


boolean continueOnError = cmd.hasOption("continueOnError");
boolean deleteGluePartitions = !cmd.hasOption("keep-glue-partitions");
boolean syncOnlyViews = cmd.hasOption("sync-only-views");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we make this a bit more flexible: sync-types=[view,table,database]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or just support view, table and [view,table] for both

javbeltran_expedia added 2 commits November 12, 2025 17:05
options.addOption(new Option(null, "keep-glue-partitions", false,
"If true, will keep glue partitions even if there is no corresponding hive partition. If false will delete them (default: false)"));
options.addOption(new Option(null, "sync-types", true,
"Choose what table type to sync. If non specified it will be sync all table types. Example: sync-types=EXTERNAL_VIEW,MANAGED_TABLE,EXTERNAL_TABLE"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add the list of possible values?

<include>com.amazonaws:*</include>
<include>com.expediagroup.apiary:*</include>
<include>org.apache.httpcomponents:*</include>
<include>io.micrometer:*</include>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

relocate as well

@javsanbel2 javsanbel2 merged commit 74ab9bc into main Nov 13, 2025
1 check passed
@javsanbel2 javsanbel2 deleted the feature/glue-views branch November 13, 2025 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants