-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Praveen2112
merged 3 commits into
trinodb:master
from
Praveen2112:praveen/create_view_with_properties
Apr 13, 2024
Merged
Add support for creating view with properties in engine and hive #21401
Praveen2112
merged 3 commits into
trinodb:master
from
Praveen2112:praveen/create_view_with_properties
Apr 13, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Praveen2112
force-pushed
the
praveen/create_view_with_properties
branch
from
April 4, 2024 14:33
b2df1a5
to
abae4ae
Compare
Praveen2112
force-pushed
the
praveen/create_view_with_properties
branch
4 times, most recently
from
April 5, 2024 07:04
e6b10f0
to
bf1e26c
Compare
Praveen2112
requested review from
findepi,
ebyhr,
findinpath,
martint,
krvikash and
marcinsbd
April 5, 2024 07:23
findepi
approved these changes
Apr 8, 2024
There was a problem hiding this 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
core/trino-main/src/main/java/io/trino/execution/CreateViewTask.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/test/java/io/trino/connector/MockConnector.java
Outdated
Show resolved
Hide resolved
core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorMetadata.java
Show resolved
Hide resolved
plugin/trino-hive/src/main/java/io/trino/plugin/hive/HiveMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/main/java/io/trino/plugin/hive/HiveMetadata.java
Outdated
Show resolved
Hide resolved
Use PlannerContext to get metadata instead of injecting it directly.
Praveen2112
force-pushed
the
praveen/create_view_with_properties
branch
from
April 9, 2024 07:37
bf1e26c
to
31a0760
Compare
@findepi Thanks for the review. AC |
Praveen2112
force-pushed
the
praveen/create_view_with_properties
branch
from
April 9, 2024 11:18
31a0760
to
e0b394c
Compare
marcinsbd
reviewed
Apr 10, 2024
Praveen2112
force-pushed
the
praveen/create_view_with_properties
branch
from
April 10, 2024 13:54
e0b394c
to
de2eed1
Compare
@marcinsbd AC |
marcinsbd
approved these changes
Apr 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 propertyextra_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: