All Downloads are FREE. Search and download functionalities are using the official Maven repository.

docker.presto-product-tests.conf.environment.singlenode-spark-iceberg-jdbc-catalog.create-table.sql Maven / Gradle / Ivy

There is a newer version: 451
Show newest version
/**
  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)
);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy