Skip to content
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 migrating tinyint and smallint in Iceberg migrate procedure #17946

Closed
marcinsbd opened this issue Jun 19, 2023 · 0 comments · Fixed by #18369
Closed

Add support for migrating tinyint and smallint in Iceberg migrate procedure #17946

marcinsbd opened this issue Jun 19, 2023 · 0 comments · Fixed by #18369
Assignees
Labels
enhancement New feature or request iceberg Iceberg connector

Comments

@marcinsbd
Copy link
Contributor

trino version: 413

hive connector:

trino:tpch> show create table tb1;
         Create Table
------------------------------
 CREATE TABLE hive.tpch.tb1 (
    x tinyint
 )
 WITH (
    format = 'ORC'
 )
(1 row)

iceberg connector:

trino:tpch> call iceberg.system.migrate('tpch', 'tb1');
Query 20230618_235845_00037_3a9py failed: Type not supported for Iceberg: tinyint

hive connector:

trino:tpch> show create table tb2;
         Create Table
------------------------------
 CREATE TABLE hive.tpch.tb2 (
    x smallint
 )
 WITH (
    format = 'ORC'
 )
(1 row)

iceberg connector:

Query 20230619_000254_00002_3a9py failed: Type not supported for Iceberg: smallint```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request iceberg Iceberg connector
Development

Successfully merging a pull request may close this issue.

3 participants