Created
July 4, 2022 19:32
-
-
Save danthelion/5517aaecace45edd1e80669eee07bb7a to your computer and use it in GitHub Desktop.
Iceberg table creation via Trino
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE iceberg; | |
CREATE SCHEMA IF NOT EXISTS iris | |
WITH (location = 's3a://iris/'); | |
CREATE TABLE IF NOT EXISTS iceberg.iris.iris_parquet | |
( | |
sepal_length DOUBLE, | |
sepal_width DOUBLE, | |
petal_length DOUBLE, | |
petal_width DOUBLE, | |
class VARCHAR | |
) | |
WITH (location = 's3a://iris/', format = 'PARQUET'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment