Add support for view column comments#13800
Merged
ebyhr merged 4 commits intotrinodb:masterfrom Oct 28, 2022
Merged
Conversation
e02893d to
029a03b
Compare
997196c to
55057df
Compare
55057df to
529f689
Compare
529f689 to
41aaad3
Compare
41aaad3 to
2547331
Compare
2547331 to
0f346bf
Compare
ebyhr
reviewed
Oct 6, 2022
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/glue/TrinoGlueCatalog.java
Outdated
Show resolved
Hide resolved
...n/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergMaterializedViewDefinition.java
Outdated
Show resolved
Hide resolved
testing/trino-product-tests/src/main/java/io/trino/tests/product/hive/TestComments.java
Outdated
Show resolved
Hide resolved
testing/trino-tests/src/test/java/io/trino/security/TestAccessControl.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/test/java/io/trino/execution/TestCommentTask.java
Outdated
Show resolved
Hide resolved
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/TrinoCatalog.java
Outdated
Show resolved
Hide resolved
core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-memory/src/main/java/io/trino/plugin/memory/MemoryMetadata.java
Outdated
Show resolved
Hide resolved
core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorViewDefinition.java
Outdated
Show resolved
Hide resolved
17c9850 to
8c74375
Compare
ebyhr
approved these changes
Oct 13, 2022
Member
|
Could you separate into some commits? e.g.
|
4aea3d0 to
9bdf3fb
Compare
Contributor
Author
|
Rebasing on top of the latest changes made on |
9bdf3fb to
e609d61
Compare
findinpath
commented
Oct 13, 2022
core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorMaterializedViewDefinition.java
Outdated
Show resolved
Hide resolved
e609d61 to
8a1d666
Compare
findinpath
commented
Oct 13, 2022
Contributor
Author
There was a problem hiding this comment.
Do we need to add @JsonProperty here? BTW the whole class is missing json annotations.
dbce5aa to
afb9e49
Compare
afb9e49 to
0f87ad6
Compare
Contributor
Author
|
Rebasing to fix conflicts with |
726fcbe to
73b46ab
Compare
Contributor
Author
|
Rebased on |
Contributor
Author
|
CI hit #14772 |
Contributor
Author
|
CI hit #14441 |
73b46ab to
5853537
Compare
Contributor
Author
|
CI hit |
Closed
1 task
findepi
reviewed
Aug 7, 2023
Comment on lines
+1369
to
+1372
| if (translateHiveViews && !isPrestoView(view)) { | ||
| throw new HiveViewNotSupportedException(viewName); | ||
| } | ||
| return view; |
Member
There was a problem hiding this comment.
this looks weird -- if (! translateHiveViews && !isPrestoView) would feel more correct
This file contains hidden or 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
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
New feature
Hive, Iceberg, Memory, Blackhole connectors
Support adding comments on view / materialized view columns.
Related issues, pull requests, and links
Fixes #10705
Documentation
(x) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.
Release notes
( ) No release notes entries required.
(x) Release notes entries required with the following suggested text: