1

Hi I am struggling to create an table on aws athena, the table DDL is as follows:

CREATE TABLE iceberg.matrix_b_blueprint_1 (
 entrytime timestamp,
 key string,
 ingestion_time timestamp,
 field_0 int,
 field_1 string,
 field_2 boolean,
 field_3 int,
 field_4 string,
 field_5 string,
 field_6 string,
 field_7 boolean,
 field_8 int,
 field_9 int,
 field_10 int,
 field_11 int,
 field_12 int,
 insert_time timestamp)
 PARTITIONED BY (month(`entrytime`))
 LOCATION 's3://
  foundry/datalake/blueprints/bp_blueprint_1/data/'
 TBLPROPERTIES (
  'table_type'='iceberg',
  'format'='parquet',
  'write_compression'='ZSTD'
    );

The data is sitting on this location:

s3://foundry/datalake/blueprints/bp_blueprint_1/data/entrytime_month=2022-06/

When I crate the table it create it but it is empty, I tried MCK repair as well but didn't work. Any pointers?

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
user3476582
  • 75
  • 1
  • 10

0 Answers0