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

Account for Iceberg tables which have spaces in the struct definitions #113

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

dacort
Copy link
Owner

@dacort dacort commented Oct 21, 2022

Fixes #112 - Iceberg tables (and maybe all non-external tables?) return spaces in the struct definition. The original schema parsing code doesn't account for this and fails to identify any fields.

It should be noted that even though this parses the structs properly, nested fields still aren't supported. See starburstdata/metabase-driver#22 for more details.

Copy link

@luca-mlbrry luca-mlbrry left a comment

Choose a reason for hiding this comment

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

lgtm

@dacort dacort merged commit fe93480 into master Nov 3, 2022
@dacort dacort deleted the fix/hive-parser branch November 3, 2022 22:54
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.

Getting no fields found for an athena table
2 participants