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

Add support for creating view with properties in engine and hive #21401

Merged

Conversation

Praveen2112
Copy link
Member

@Praveen2112 Praveen2112 commented Apr 4, 2024

Description

This PR adds support for CREATE VIEW WITH PROPERTIES in engine and in Hive connector. In case of hive we are introducing a new property extra_property which would allow us to add arbitrary property to hive as `Map<String, String>.

This PR doesn't have docs and it will be handled as dedicated task which is mentioned as a part of this ticket - #20992

Additional context and related issues

Release notes

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

# Hive
* Add support creating view with properties . ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Apr 4, 2024
@Praveen2112 Praveen2112 force-pushed the praveen/create_view_with_properties branch from b2df1a5 to abae4ae Compare April 4, 2024 14:33
@github-actions github-actions bot added the hive Hive connector label Apr 4, 2024
@Praveen2112 Praveen2112 force-pushed the praveen/create_view_with_properties branch 4 times, most recently from e6b10f0 to bf1e26c Compare April 5, 2024 07:04
@Praveen2112 Praveen2112 marked this pull request as ready for review April 5, 2024 07:22
Copy link
Member

@findepi findepi left a comment

Choose a reason for hiding this comment

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

Syntax already approved in #21205

Use PlannerContext to get metadata instead of injecting it directly.
@Praveen2112 Praveen2112 force-pushed the praveen/create_view_with_properties branch from bf1e26c to 31a0760 Compare April 9, 2024 07:37
@Praveen2112
Copy link
Member Author

@findepi Thanks for the review. AC

@Praveen2112 Praveen2112 force-pushed the praveen/create_view_with_properties branch from 31a0760 to e0b394c Compare April 9, 2024 11:18
@Praveen2112 Praveen2112 force-pushed the praveen/create_view_with_properties branch from e0b394c to de2eed1 Compare April 10, 2024 13:54
@Praveen2112
Copy link
Member Author

@marcinsbd AC

@Praveen2112 Praveen2112 merged commit 0990a43 into trinodb:master Apr 13, 2024
96 checks passed
@github-actions github-actions bot added this to the 445 milestone Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed hive Hive connector
Development

Successfully merging this pull request may close these issues.

3 participants