Files
Amir Raminfar bf090aedfe fix(ui): flatten JSON-typed log messages in SQL analytics
When a container emits JSON messages with mixed shapes, DuckDB infers
`m` as the JSON type instead of a STRUCT, and `unnest(m)` rejects JSON
(Binder Error: UNNEST() can only be applied to lists, structs and NULL,
not JSON). map_inference_threshold = -1 only ruled out the MAP fallback,
not the JSON one.

Try the struct unnest first (unchanged for uniform messages), and on
failure flatten the union of object keys with json_keys +
json_extract_string. Dotted keys are quoted in the JSON path so they are
read as field names rather than nesting.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 06:33:52 -07:00
..
2026-01-26 17:34:06 +00:00
2026-02-16 11:47:14 -08:00
2026-05-31 16:35:06 -07:00