mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-04 10:52:13 +02:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_aggregate_locality.py | ||
| test_cli.py | ||
| test_computed_columns.py | ||
| test_corner_case_regressions.py | ||
| test_coverage_gaps.py | ||
| test_dialect_identifier_quoting.py | ||
| test_duplicate_check.py | ||
| test_engine.py | ||
| test_generator.py | ||
| test_graph.py | ||
| test_loader.py | ||
| test_manifest.py | ||
| test_models.py | ||
| test_parser.py | ||
| test_planner.py | ||
| test_predefined_measures_only.py | ||
| test_segments.py | ||
| test_snowflake.py | ||
| test_sql_join_coverage.py | ||
| test_table_identifier_parser.py | ||
| test_tpch.py | ||
| test_tsql_filter_alias_regression.py | ||
| test_validator.py | ||