You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…rt order of Iceberg table created by Trino (#1563)
### What changes were proposed in this pull request?
We can create a Hive table with partitioning, distribution, and sorting
ordered by Trino.
### Why are the changes needed?
It's a crucial feature of the Trino connector.
Fix: #1511
### Does this PR introduce _any_ user-facing change?
```text
trino:db1> create table t4(id int, name varchar) with (partitioning = ARRAY['name'], sorted_by = ARRAY['id']);
CREATE TABLE
trino:db1> show create table t4;
Create Table
----------------------------------------------
CREATE TABLE "test.iceberg_catalog".db1.t4 (
id integer,
name varchar
)
COMMENT ''
WITH (
partitioning = ARRAY['name'],
sorted_by = ARRAY['id']
)
(1 row)
Query 20240117_092158_00001_qufcr, FINISHED, 1 node
Splits: 1 total, 1 done (100.00%)
1.08 [0 rows, 0B] [0 rows/s, 0B/s]
```
### How was this patch tested?
IT
…and sort order of Iceberg table created by Trino (apache#1563)
### What changes were proposed in this pull request?
We can create a Hive table with partitioning, distribution, and sorting
ordered by Trino.
### Why are the changes needed?
It's a crucial feature of the Trino connector.
Fix: apache#1511
### Does this PR introduce _any_ user-facing change?
```text
trino:db1> create table t4(id int, name varchar) with (partitioning = ARRAY['name'], sorted_by = ARRAY['id']);
CREATE TABLE
trino:db1> show create table t4;
Create Table
----------------------------------------------
CREATE TABLE "test.iceberg_catalog".db1.t4 (
id integer,
name varchar
)
COMMENT ''
WITH (
partitioning = ARRAY['name'],
sorted_by = ARRAY['id']
)
(1 row)
Query 20240117_092158_00001_qufcr, FINISHED, 1 node
Splits: 1 total, 1 done (100.00%)
1.08 [0 rows, 0B] [0 rows/s, 0B/s]
```
### How was this patch tested?
IT
Describe the feature
Supports creating a Iceberg table with Partition/Bucket/Sorting by Trino.
Motivation
Please see above.
Describe the solution
Please see above.
Additional context
No response
The text was updated successfully, but these errors were encountered: