dacort / metabase-athena-driver

An Amazon Athena driver for Metabase 0.32 and later
Apache License 2.0
225 stars 32 forks source link

Account for Iceberg tables which have spaces in the struct definitions #113

Closed dacort closed 1 year ago

dacort commented 1 year ago

Fixes #112 - Iceberg tables (and maybe all non-external tables?) return spaces in the struct definition. The original schema parsing code doesn't account for this and fails to identify any fields.

It should be noted that even though this parses the structs properly, nested fields still aren't supported. See https://github.com/starburstdata/metabase-driver/issues/22 for more details.