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

Upgrade schema-ddl to 0.25.0-M1 #1361

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Upgrade schema-ddl to 0.25.0-M1 #1361

merged 1 commit into from
Sep 25, 2024

Conversation

oguzhanunlu
Copy link
Member

@oguzhanunlu oguzhanunlu commented Sep 25, 2024

This PR upgrades schema-ddl to 0.25.0-M1, making databricks loader prefix fields with an underscore _ if they start with a number so that we have a consistent behavior across loaders.

@oguzhanunlu oguzhanunlu self-assigned this Sep 25, 2024
Copy link
Contributor

@istreeter istreeter left a comment

Choose a reason for hiding this comment

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

Your PR description says

So far, fields starting with a digit wouldn't load properly.

That's not quite true. For other destinations (BigQuery, Hudi etc) we cannot load fields starting with a digit. For Databricks it actually works ok. But we're changing it here so that we can have consistent rules across all destinations. So we don't need to support an extra "if/else" in schema-ddl.

@oguzhanunlu
Copy link
Member Author

hey @istreeter , thanks for the heads up regarding the PR description, just updated. I also sent a new commit to remove unnecessary list conversion.

@oguzhanunlu
Copy link
Member Author

squashed and force pushed, since squash is disabled in github UI

@oguzhanunlu oguzhanunlu merged commit cd79f64 into develop Sep 25, 2024
1 check passed
@oguzhanunlu oguzhanunlu deleted the sddl-0.25.0 branch September 25, 2024 12:58
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.

2 participants