We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SHOW CREATE TABLE
In hive.properties add hive.partition-projection-enabled=true
hive.properties
hive.partition-projection-enabled=true
trino:default> create table hive.default.test1( -> name varchar(10), -> comment varchar(10), -> nationkey bigint, -> regionkey bigint, -> short_name varchar(100) -> with (partition_projection_type = 'enum', partition_projection_values = array['PL1', 'CZ1']) -> ) -> with ( -> partitioned_by = array['short_name'], -> partition_projection_enabled = true); CREATE TABLE trino:default> show create table test1; Create Table ----------------------------------------- CREATE TABLE hive.default.test1 ( name varchar(10), comment varchar(10), nationkey bigint, regionkey bigint, short_name varchar(100) ) WITH ( format = 'ORC', partition_projection_enabled = true, partitioned_by = ARRAY['short_name'] ) (1 row)
In the example above it would be expected that the column short_name has displayed also
short_name
WITH (partition_projection_type = 'enum', partition_projection_values = ARRAY['PL1', 'CZ1'])
The text was updated successfully, but these errors were encountered:
Nice finding. We could extend test like this here to cover it.
trino/plugin/trino-hive/src/test/java/io/trino/plugin/hive/BaseTestHiveOnDataLake.java
Line 322 in 1a95a9c
Sorry, something went wrong.
can I take this issue ?
@tsafacjo go for it. Feel free to create a PR and add to its description Fixes #16873
Fixes #16873
No branches or pull requests
In
hive.properties
addhive.partition-projection-enabled=true
In the example above it would be expected that the column
short_name
has displayed alsoThe text was updated successfully, but these errors were encountered: