Niels Kootstra
1da8982950
fix(athena): report each result column's SQL type in GetQueryResults ( #7926 )
...
* 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.
2026-11-10 14:04:34 -04:00
..
2026-11-04 21:50:47 -06:00
2026-10-15 18:02:19 -04:00
2026-10-30 07:01:38 -04:00
2026-10-12 21:19:15 -04:00
2026-11-09 01:30:45 -04:00
2026-11-05 16:13:12 -04:00
2026-09-11 17:55:48 -04:00
2026-11-01 10:10:02 -06:00
2026-11-05 04:58:24 -04:00
2026-11-10 14:04:34 -04:00
2026-11-09 17:56:59 -04:00
2026-11-09 22:36:59 -04:00
2026-10-25 09:09:12 -04:00
2026-10-26 06:50:32 -04:00
2026-09-12 11:31:20 -04:00
2026-11-03 11:31:06 -04:00
2026-10-18 14:50:09 -04:00
2026-11-08 05:02:41 -04:00
2026-09-06 23:54:37 -04:00
2026-09-24 08:20:17 -04:00
2026-10-12 11:28:04 -04:00
2026-11-10 08:54:32 -04:00
2026-11-02 15:15:59 -04:00
2026-11-09 16:50:23 -06:00
2026-08-17 00:00:49 -05:00
2026-10-30 23:14:37 -04:00
2026-10-30 07:27:51 -04:00
2026-09-17 13:53:35 -04:00
2026-11-03 13:20:11 -04:00
2026-11-01 17:17:12 -06:00
2026-10-21 00:29:11 -04:00
2026-10-26 17:27:41 -04:00
2026-08-30 14:44:08 -05:00
2026-10-26 07:31:28 -04:00
2026-11-10 11:01:14 -04:00
2026-09-04 12:16:18 -04:00
2026-08-30 14:44:12 -05:00
2026-10-29 19:32:06 -04:00
2026-08-30 15:15:49 -04:00
2026-09-07 21:49:39 -05:00
2026-11-10 10:46:59 -04:00
2026-05-15 22:55:11 -05:00
2026-09-11 22:30:02 -04:00
2026-09-07 18:31:48 -04:00
2026-09-24 15:08:34 -04:00
2026-10-17 08:07:21 -04:00
2026-11-07 09:58:08 -04:00
2026-10-23 06:51:19 -04:00
2026-11-02 22:24:56 -04:00
2026-11-08 18:24:23 -04:00
2026-11-09 13:13:00 -04:00
2026-11-08 05:19:22 -04:00
2026-11-09 09:31:39 -04:00
2026-09-01 10:00:34 -04:00
2026-11-09 14:54:40 -04:00
2026-06-25 19:16:51 -05:00
2026-11-08 18:21:24 -04:00
2026-11-02 14:50:12 -04:00
2026-11-06 19:11:17 -04:00
2026-11-03 17:14:56 -06:00
2026-11-07 00:34:27 -06:00
2026-11-10 09:08:43 -04:00
2026-11-03 17:27:11 -04:00
2026-11-03 13:49:06 -04:00
2026-08-21 00:09:04 -04:00
2026-10-25 13:38:39 -04:00
2026-11-02 22:02:20 -06:00
2026-10-19 16:45:15 -04:00
2026-11-10 06:37:23 -06:00
2026-09-10 16:34:41 -04:00
2026-11-10 13:58:19 -04:00
2026-11-01 12:22:49 -04:00
2026-11-09 14:28:25 -04:00
2026-11-02 16:00:35 -04:00
2026-09-22 16:16:34 -04:00
2026-10-25 21:19:18 -04:00
2026-09-04 09:14:52 -04:00
2026-10-26 23:26:25 -04:00
2026-11-02 07:47:05 -04:00
2026-11-10 11:54:40 -04:00
2026-07-10 20:43:42 -05:00
2026-11-09 11:37:23 -04:00
2026-10-26 06:45:35 -04:00
2026-10-03 22:04:03 -04:00
2026-11-04 17:10:19 -04:00
2026-11-03 21:04:28 -04:00
2026-11-03 21:04:28 -04:00
2026-09-04 09:45:29 -04:00
2026-08-27 09:23:52 -04:00
2026-09-12 08:59:21 -04:00
2026-11-08 18:37:00 -04:00
2026-10-25 07:31:36 -04:00
2026-11-09 11:18:07 -04:00
2026-11-06 20:05:00 -04:00
2026-11-10 13:49:49 -04:00
2026-05-13 01:34:19 -05:00
2026-11-06 09:11:30 -04:00
2026-10-30 14:44:18 -04:00
2026-10-15 16:49:23 -04:00
2026-11-10 09:16:40 -04:00
2026-11-02 17:31:24 -06:00
2026-10-30 14:44:26 -04:00
2026-11-10 10:57:23 -04:00
2026-10-13 07:50:42 -04:00
2026-11-05 04:57:31 -04:00
2026-11-05 04:57:31 -04:00
2026-10-24 18:45:19 -04:00
2026-11-08 23:56:13 -06:00
2026-10-30 14:55:39 -04:00
2026-08-01 15:28:54 -05:00
2026-11-10 08:26:24 -04:00
2026-08-15 12:48:27 -04:00
2026-11-10 13:58:19 -04:00
2026-09-20 17:56:43 -04:00
2026-11-09 01:53:04 -04:00
2026-10-30 07:27:51 -04:00
2026-11-09 11:37:23 -04:00
2026-10-30 11:04:01 -04:00
2026-11-04 13:52:00 -04:00
2026-10-31 11:19:49 -04:00
2026-11-09 09:08:00 -04:00
2026-10-26 19:16:56 -05:00
2026-11-05 09:50:01 -06:00
2026-11-09 22:16:10 -04:00
2026-09-10 16:34:41 -04:00
2026-09-10 16:34:41 -04:00
2026-09-10 16:34:41 -04:00
2026-11-09 13:51:54 -04:00
2026-11-06 19:14:20 -04:00
2026-10-16 14:01:24 -04:00
2026-09-21 14:11:16 -04:00
2026-10-20 07:27:05 -04:00
2026-05-21 18:20:09 -05:00
2026-10-04 18:19:43 -04:00
2026-09-01 14:47:33 -04:00
2026-10-29 07:54:58 -05:00
2026-10-07 23:47:52 -04:00