Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/6.0.2 #1356

Merged
merged 6 commits into from
Jul 10, 2024
Merged

Release/6.0.2 #1356

merged 6 commits into from
Jul 10, 2024

Conversation

oguzhanunlu
Copy link
Member

@oguzhanunlu oguzhanunlu commented Jul 10, 2024

pdp-1124

spenes and others added 4 commits June 28, 2024 01:05
…cks tables

When loading to Redshift, the loader needs to call the "list" Iglu
api endpoint in order to discover all minor versions of a schema. It
uses the list to merge the schemas.

But for Snowflake/Databricks tables the loader does not need to merge
schemas, so there is no need to call the "list" endpoint.

In RDB Loader version 6.0.0 we accidentally changed the loader so it
calls the "list" endpoint regardless of the table type. This is a
problem for Snowflake/Databricks loads because:

- it is inefficient to call a api endpoint when we don't need the result
- some old Iglu repos do not support the list endpoint.
@oguzhanunlu oguzhanunlu self-assigned this Jul 10, 2024
RDB Loader (Redshift) would not emit an easy to understand error message in case the shredded table comment is not a schema key. The app would also retry the transaction, an unnecessary effort.

This commit will make the app emit an easy to understand error message for such cases and will not retry the transaction as there is no benefit in that.
@oguzhanunlu
Copy link
Member Author

squashed error message commit into 43ec0f6 and force pushed

@oguzhanunlu oguzhanunlu merged commit 618565a into master Jul 10, 2024
13 checks passed
@oguzhanunlu oguzhanunlu deleted the release/6.0.2 branch July 10, 2024 11:20
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.

3 participants