Skip to content

Add support for Trino views in Iceberg connector#8540

Closed
losipiuk wants to merge 8 commits intotrinodb:masterfrom
losipiuk:lo/iceberg-views
Closed

Add support for Trino views in Iceberg connector#8540
losipiuk wants to merge 8 commits intotrinodb:masterfrom
losipiuk:lo/iceberg-views

Conversation

@losipiuk
Copy link
Copy Markdown
Member

No description provided.

@cla-bot cla-bot bot added the cla-signed label Jul 13, 2021
@losipiuk losipiuk requested review from alexjo2144, findepi and phd3 July 13, 2021 15:19
@mosabua
Copy link
Copy Markdown
Member

mosabua commented Jul 13, 2021

Trino views ;-)

@findepi
Copy link
Copy Markdown
Member

findepi commented Jul 14, 2021

Please add a product test (to exercise Iceberg views with HMS; this could cover Hive interoperability -- should be tested regardless of what we the interop to be (support / fail ignore)) and we should also think how we will test Iceberg views with Glue.

@losipiuk losipiuk changed the title Add support for Presto views in Iceberg connector Add support for Trino views in Iceberg connector Jul 14, 2021
@losipiuk
Copy link
Copy Markdown
Member Author

@findepi AC

@losipiuk losipiuk force-pushed the lo/iceberg-views branch 2 times, most recently from 03a7201 to a82a230 Compare July 16, 2021 08:16
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

before doing that, consider USE memory.default or something

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

WDYM?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

you use USE above to the state isn't "clean". let's USE something else to not be biased towards iceberg catalog.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Makes sense

Copy link
Copy Markdown
Member Author

@losipiuk losipiuk left a comment

Choose a reason for hiding this comment

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

.

@losipiuk losipiuk force-pushed the lo/iceberg-views branch 2 times, most recently from 3d011ab to 0939bbb Compare July 16, 2021 13:00
Copy link
Copy Markdown
Member

@phd3 phd3 left a comment

Choose a reason for hiding this comment

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

LGTM

@mosabua
Copy link
Copy Markdown
Member

mosabua commented Jul 16, 2021

As discussed with @electrum and @dain we should add this to the documentation to support views management. As such .. all statements in there should be supported.

See
https://github.com/trinodb/trino/blob/master/docs/src/main/sphinx/language/sql-support.rst#views-management
for list of statements

@findepi
Copy link
Copy Markdown
Member

findepi commented Jul 17, 2021

@phd3 thanks for your review!
I answered to the comments & added some small fixups.

Copy link
Copy Markdown
Member

@phd3 phd3 left a comment

Choose a reason for hiding this comment

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

just one comment, other wise looks good.

@losipiuk
Copy link
Copy Markdown
Member Author

Thanks @phd3 for review and @findepi for addressing comments :)

@findepi
Copy link
Copy Markdown
Member

findepi commented Jul 19, 2021

Merged as 7651769, thanks!

@mosabua
Copy link
Copy Markdown
Member

mosabua commented Jul 20, 2021

Follow up PR #8621

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.

4 participants