Skip to content

fix(tools): pin TZ=UTC across for ClickHouse experiments - #514

Closed
milindsrivastava1997 wants to merge 1 commit into
mainfrom
clickhouse-experiment-config-updates
Closed

fix(tools): pin TZ=UTC across for ClickHouse experiments#514
milindsrivastava1997 wants to merge 1 commit into
mainfrom
clickhouse-experiment-config-updates

Conversation

@milindsrivastava1997

@milindsrivastava1997 milindsrivastava1997 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pin TZ=UTC in the ClickHouse, asap-planner, and query-engine docker-compose configs and remote-launch commands so naive datetime-string time literals in SQL queries parse identically everywhere (previously could silently disagree by the shell's local UTC offset vs. ClickHouse's UTC default).
  • Pass optional sketch_parameters through from experiment config into the generated SQL planner input YAML.
  • Rsync init_sql_file to the remote node before executing it, instead of assuming it's already present there.

Naive datetime-string time literals in SQL queries were parsing
inconsistently between ClickHouse (defaults to UTC) and asap-planner /
query_engine_rust (local shell TZ), silently disagreeing by the shell's
UTC offset. Also passes optional sketch_parameters through to the
generated SQL planner input, and rsyncs init_sql_file to the remote
node instead of assuming it's already there.
@milindsrivastava1997 milindsrivastava1997 changed the title Pin TZ=UTC across ClickHouse/planner/query-engine experiment configs fix(tools): pin TZ=UTC across for ClickHouse experiments Jul 7, 2026
@milindsrivastava1997

Copy link
Copy Markdown
Contributor Author

Split into #552 and #553

milindsrivastava1997 added a commit that referenced this pull request Aug 20, 2026
…house_image_tag (#553)

- Pass optional sketch_parameters through from experiment config into
  the generated SQL planner input YAML.
- Rsync init_sql_file to the remote node before executing it, instead
  of assuming it's already present there.
- Allow overriding the ClickHouse image tag via
  dataset.clickhouse_image_tag (pre-AVX2 CPUs SIGILL on "latest").

Split out of #514.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
milindsrivastava1997 added a commit that referenced this pull request Aug 20, 2026
Naive datetime-string time literals in SQL queries must parse
identically everywhere (previously could silently disagree by the
shell's local UTC offset vs. ClickHouse's UTC default). Pins TZ=UTC
in the ClickHouse, asap-planner, and query-engine docker-compose
configs and remote-launch commands.

Split out of #514.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant