You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Docker Compose local test infrastructure with seed data (#24)
* fix: validate column types in set operations and fix PostgreSQL timestamp edge cases
Add type-class validation to TableOp.schema and TableOp.type so that
unions, intersects, and minus operations reject mismatched column types
early with a clear QueryBuilderError instead of silently producing
incorrect results. (#5)
Fix PostgreSQL timestamp normalization: use timestamptz(6) cast for
TimestampTZ columns to preserve timezone info during bounds comparison,
and replace hardcoded TIMESTAMP_PRECISION_POS with length()-based
calculation to correctly pad years with >4 digits. (#12)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: add Docker Compose local test infrastructure with seed data
Add SQL seed data (PostgreSQL + MySQL) with ~1000 rows and deliberate
diffs for showcasing data-diff. Default connection strings for all
docker-compose databases, add profiles to keep lightweight default
(PG + MySQL only), and add Makefile for developer ergonomics.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address code review findings from PR #24
Critical:
- Fix _add_padding double-truncation regression for rounding branch
(split into _truncate_and_pad and _zero_pad for correct behavior)
Important:
- Fix non-rounding timestamp path to use timestamptz cast for TimestampTZ
- Add None guard to TableOp.type to avoid misleading errors
- Use QueryBuilderError consistently for schema length mismatch
- Revert Presto/Trino/Vertica conn defaults to None (CI doesn't test them)
- Remove unused Presto/Trino from CI docker compose command
- Add comprehensive tests for all timestamp paths and edge cases
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: address PR review findings for robustness and developer ergonomics
- Revert ClickHouse default conn string to None so `make test` skips
ClickHouse when the container isn't running; set URI explicitly in CI
- Add None-schema guard in TableOp.schema with clear error message
- Return None (not optimistic type) when one side of TableOp.type is unknown
- Fix Makefile comment to accurately reflect PG + MySQL (not ClickHouse)
- Add comment explaining why Join.schema skips cross-table type validation
- Add tests for TableOp.type mismatch and matching branches
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: add CI comment for profile flag and normalize conn string defaults
- Add comment explaining why --profile full is needed (ClickHouse is
profile-gated; only explicitly named services start)
- Add `or None` to Databricks and MsSQL conn strings to handle empty
env vars consistently with all other optional databases
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments