Skip to content

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

Draft
Priyansh121096 wants to merge 9 commits intobloomberg:iceberg-extra-propsfrom
Priyansh121096:iceberg-extra-props
Draft

[WIP] Allow setting arbitrary table properties on Iceberg tables#8
Priyansh121096 wants to merge 9 commits intobloomberg:iceberg-extra-propsfrom
Priyansh121096:iceberg-extra-props

Conversation

@Priyansh121096
Copy link

@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.

1 participant