docker.presto-product-tests.conf.environment.singlenode-spark-iceberg-jdbc-catalog.create-table.sql Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trino-product-tests-launcher Show documentation
Show all versions of trino-product-tests-launcher Show documentation
Trino - Product tests launcher
/**
Table definition in Iceberg repository:
https://github.com/apache/iceberg/blob/master/core/src/main/java/org/apache/iceberg/jdbc/JdbcUtil.java
*/
CREATE TABLE iceberg_namespace_properties (
catalog_name VARCHAR(255) NOT NULL,
namespace VARCHAR(255) NOT NULL,
property_key VARCHAR(5500),
property_value VARCHAR(5500),
PRIMARY KEY (catalog_name, namespace, property_key)
);
CREATE TABLE iceberg_tables (
catalog_name VARCHAR(255) NOT NULL,
table_namespace VARCHAR(255) NOT NULL,
table_name VARCHAR(255) NOT NULL,
metadata_location VARCHAR(5500),
previous_metadata_location VARCHAR(5500),
PRIMARY KEY (catalog_name, table_namespace, table_name)
);