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
Parse Time64 value without setting it during table creation (#3953)
- Adds ClickHouse Time64(6) type support for TIME/TIMETZ columns, gated
by a read-only capability flag (clickhouse_time64_enabled) detected at
flow creation time and persisted to the flow config protobuf.
- Replaces the previous InternalVersion-based approach with a
map<string, bool> flags field on FlowConnectionConfigs,
FlowConnectionConfigsCore, QRepConfig, and
SetupNormalizedTableBatchInput. This decouples connector-specific
capabilities from the global linear version ordering.
- Introduces a GetFlagsConnector interface. ClickHouse's implementation
queries system.settings to check if enable_time_time64_type is already
enabled on the server -- PeerDB never attempts to set this value.
- Flags are immutable after flow creation: if the flag was false and the
admin enables it later, only new flows will use Time64, existing flows
retain their original behavior, including resync. If the flag was true
and the admin disables the setting, queries will error out if it depends
on Time64.
Testing: e2e tests + test migration path in in CHC + test non-supported
CHC environments
0 commit comments