Avoid including hive views in iceberg SHOW TABLES#8153
Avoid including hive views in iceberg SHOW TABLES#8153sopel39 merged 2 commits intotrinodb:masterfrom
Conversation
findepi
left a comment
There was a problem hiding this comment.
LGTM
Please add a test exercising Hive and Iceberg using same backing metastore.
This should be a product test to get good coverage of metastore-dependent interactions like this. (For example -- can getTablesWithParameter be used with TABLE_COMMENT property?)
plugin/trino-iceberg/src/test/java/io/trino/plugin/iceberg/TestIcebergMetadataListing.java
Outdated
Show resolved
Hide resolved
Thanks for pointing out, turns out TABLE_PARAMETER_SAFE_VALUE_PATTERN blocks our parameter value, i'll need to tweak that a bit |
|
Your value is not far from matching based on the code comment:
seems like we could allow spaces in |
d5fa3d3 to
ef254e6
Compare
I got things working for iceberg by allowing spaces in TABLE_PARAMETER_SAFE_VALUE_PATTERN. |
ef254e6 to
713ac24
Compare
There was a problem hiding this comment.
please create an issue in Github and reference it here
...oduct-tests/src/main/java/io/trino/tests/product/iceberg/TestIcebergHiveMetadataListing.java
Outdated
Show resolved
Hide resolved
...oduct-tests/src/main/java/io/trino/tests/product/iceberg/TestIcebergHiveMetadataListing.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
is storage table created immediately?
There was a problem hiding this comment.
yes, in iceberg CREATE MV we create the storage table even before storing the MV definition in HMS
713ac24 to
3531676
Compare
No description provided.