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

Improve error message when trying to partition on an Iceberg nested field #15091

Closed
alexjo2144 opened this issue Nov 17, 2022 · 0 comments · Fixed by #15142
Closed

Improve error message when trying to partition on an Iceberg nested field #15091

alexjo2144 opened this issue Nov 17, 2022 · 0 comments · Fixed by #15142
Assignees
Labels
bug Something isn't working

Comments

@alexjo2144
Copy link
Member

Partitioning on a field of a row type is not supported, but when attempting to do this you currently get a NullPointerException rather than a clear error message.

Slack thread: https://trinodb.slack.com/archives/CJ6UC075E/p1668717668592149

CREATE TABLE iceberg.my_db.my_table(a ROW(b VARCHAR)) WITH (format = 'PARQUET', partitioning = ARRAY['"a.b"'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants