mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
* fix(athena): report each result column's SQL type in GetQueryResults GetQueryResults read the result CSV back and reported every column as varchar, so clients that build typed results from ColumnInfo got strings for numbers, booleans and dates. After the query runs, ask floci-duck to DESCRIBE it, map the DuckDB types to Athena type names, keep them with the query execution and use them when the result set is built. A statement DuckDB cannot describe keeps varchar. Closes #7897 * fix(athena): report decimal precision and scale and time types in GetQueryResults Keep the type DuckDB describes and map it when the result set is built, so a decimal column reports its precision and scale in their own fields. Time and the timestamp variants map to their Athena names, and a failed DESCRIBE is logged at warn with its cause.