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

[WIP] Allow setting arbitrary table properties on Iceberg tables #8

Draft
wants to merge 7 commits into
base: iceberg-extra-props
Choose a base branch
from

Conversation

Priyansh121096
Copy link
Collaborator

@Priyansh121096 Priyansh121096 commented Oct 11, 2023

Describe your changes
This PR allows us to set arbitrary properties on Iceberg tables when creating them via Trino. The additional properties can provided in the following format:

extra_properties = map_from_entries(ARRAY[ROW('extra.property.one', 'one'),ROW('extra.property.two', 'two')]

The additional properties will not be listed in SHOW CREATE.

Additional context
Fixes trinodb#17427
Similar to trinodb#17172

The following now works
ALTER TABLE baz SET PROPERTIES extra_properties = MAP(ARRAY['commit.retry.num-retries', 'b'], ARRAY['2', 'xyz']);
@github-actions github-actions bot added the docs label Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant