ktx/python/ktx-sl
Andrey Avtomonov 4ebce75449
fix(sl): correct reserved-word/week-grain SQL and classify sl_query errors (#340)
Reserved-word columns (like, default, ...) referenced as source.col were
quoted with postgres double quotes even on BigQuery/MySQL, where a
double-quoted token is a string literal, not an identifier -- the
"Unexpected string literal" semantic-layer errors. quote_reserved_identifiers
now uses the identifier quote char of the dialect it will be parsed in
(backtick for BigQuery/MySQL), threaded through the planner and generator
parse sites; week_<weekday> granularity now emits WEEK(<weekday>) on BigQuery
instead of the invalid WEEK_MONDAY.

On the telemetry side, warehouse rejections from the sl_query execution path
are classified as expected (KtxQueryError) via a new shared markExpected()
helper, so routine agent/warehouse query failures stop reaching PostHog Error
Tracking as ktx faults; the sql_execution catch is refactored onto the same
helper. The daemon-compile boundary is deliberately left unclassified here so
genuine daemon crashes stay visible.
2026-07-03 23:19:33 +02:00
..
demos rename klo to ktx 2026-05-10 23:51:24 +02:00
scripts rename klo to ktx 2026-05-10 23:51:24 +02:00
semantic_layer fix(sl): correct reserved-word/week-grain SQL and classify sl_query errors (#340) 2026-07-03 23:19:33 +02:00
sources refactor: remove legacy compatibility paths (#64) 2026-05-13 15:55:00 +02:00
tests fix(sl): correct reserved-word/week-grain SQL and classify sl_query errors (#340) 2026-07-03 23:19:33 +02:00
AGENTS.md docs: standardize fanout terminology (#218) 2026-05-25 11:09:33 -04:00
CLAUDE.md rename klo to ktx 2026-05-10 23:51:24 +02:00
pyproject.toml chore(release): 0.15.0 [skip ci] 2026-06-30 23:16:54 +00:00
README.md rename klo to ktx 2026-05-10 23:51:24 +02:00