CREATE SCHEMA

CREATE TABLE

RENAME TABLE

"tb03"

RENAME TABLE

"tb01"

DROP COLUMN

"CREATE TABLE %.gt_db2.tb01 (
   name varchar,
   salary integer
)
COMMENT ''
WITH (
   format = 'PARQUET',
   format_version = '2',
   location = 'hdfs://%/user/iceberg/warehouse/TrinoQueryIT/gt_db2%/tb01'
)"

RENAME COLUMN

"CREATE TABLE %.gt_db2.tb01 (
   s varchar,
   salary integer
)
COMMENT ''
WITH (
   format = 'PARQUET',
   format_version = '2',
   location = 'hdfs://%/user/iceberg/warehouse/TrinoQueryIT/gt_db2%/tb01'
)"

SET COLUMN TYPE

"CREATE TABLE %.gt_db2.tb01 (
   s varchar,
   salary bigint
)
COMMENT ''
WITH (
   format = 'PARQUET',
   format_version = '2',
   location = 'hdfs://%/user/iceberg/warehouse/TrinoQueryIT/gt_db2%/tb01'
)"

COMMENT

"CREATE TABLE %.gt_db2.tb01 (
   s varchar,
   salary bigint
)
COMMENT 'test table comments'
WITH (
   format = 'PARQUET',
   format_version = '2',
   location = 'hdfs://%/user/iceberg/warehouse/TrinoQueryIT/gt_db2%/tb01'
)"

COMMENT

"CREATE TABLE %.gt_db2.tb01 (
   s varchar COMMENT 'test column comments',
   salary bigint
)
COMMENT 'test table comments'
WITH (
   format = 'PARQUET',
   format_version = '2',
   location = 'hdfs://%/user/iceberg/warehouse/TrinoQueryIT/gt_db2%/tb01'
)"

ADD COLUMN

"CREATE TABLE %.gt_db2.tb01 (
   s varchar COMMENT 'test column comments',
   salary bigint,
   city varchar COMMENT 'aaa'
)
COMMENT 'test table comments'
WITH (
   format = 'PARQUET',
   format_version = '2',
   location = 'hdfs://%/user/iceberg/warehouse/TrinoQueryIT/gt_db2%/tb01'
)"

DROP TABLE

DROP SCHEMA