Skip to content

Conversation

@findinpath
Copy link
Contributor

@findinpath findinpath commented Jun 11, 2025

Description

Additional context and related issues

Similar documentation section exists already for the Iceberg connector on https://trino.io/docs/current/connector/iceberg.html#schema-and-table-management

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Jun 11, 2025
@findinpath findinpath requested a review from ebyhr June 11, 2025 07:57
@github-actions github-actions bot added the docs label Jun 11, 2025
@findinpath findinpath requested a review from Jessie212 June 11, 2025 07:57
Copy link
Member

@ebyhr ebyhr Jun 11, 2025

Choose a reason for hiding this comment

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

Delta Lake format (not connector) supports schema evolution on nested fields, right? We could rephrase to "The connector supports ..." to clarify this is our connector's limitation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried out schema evolution operations for nested fields and got exceptions:

trino> alter table  delta.tiny.t3 drop column parent.child2;
Query 20250611_074645_00015_2q48r failed: This connector does not support dropping fields
trino> alter table delta.tiny.t2 rename column parent.child to newchild;
Query 20250611_073950_00010_2q48r failed: This connector does not support renaming fields

Copy link
Contributor

@chenjian2664 chenjian2664 left a comment

Choose a reason for hiding this comment

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

We could start with: The Delta Lake connector supports ...

@findinpath findinpath force-pushed the findinpath/delta-schema-evolution branch from 91087a8 to 0ae3499 Compare June 12, 2025 08:37
@ebyhr ebyhr merged commit 10752f6 into trinodb:master Jun 12, 2025
8 checks passed
@github-actions github-actions bot added this to the 477 milestone Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants