Files
floci/src/main/java
Priamo Germosen 31c86c05e9 fix(athena): read headerless delimited text by its Glue columns and keep one bad view from failing every query (#8427)
A LazySimpleSerDe table over headerless TSV came back as column00,
column01 and the view's projection failed to bind: Athena's views were
built with readExpression, which ignored the table's CSV options
(field.delim, skip.header.line.count) that only Redshift Spectrum's
read plan applied. Views now read such a table with read_csv and those
options, naming the file columns after the declared data columns, and
give each data column its declared type with TRY_CAST, NULL for a value
the type cannot hold, as LazySimpleSerDe does.

Every query also built a view for every Glue table, and DuckDB binds
each view before running the query, so one table whose view could not
be built failed all queries. Views are now built only for the tables
the query names, or for every table when it reads information_schema or
is a SHOW statement.
2026-11-15 08:13:19 -04:00
..