Trino not able to create table from JSON file

372 Views Asked by At

Trino is not able to create a table from JSON in S3.

I use

create table trino_test.json_test (id VARCHAR) with (external_location = 's3a://trino_test/jsons/', format='JSON');

but I get Query 20230203_154914_00018_d3erw failed: java.lang.IllegalArgumentException: bucket is null/empty even though I really do have file in trino_test/jsons/file.json

Different "folder" containing PARQUET works.

0

There are 0 best solutions below