Open handgunman opened 1 month ago
This module does a check that is not needed.
https://github.com/ClickHouse/clickhouse-go/blob/71347774889eb5c5de9549423fba341518440742/lib/column/date_helpers.go#L45
Clickhouse allows insertion of data earlier than 1900. A conversion to the minimum date for the field type is performed.
https://fiddle.clickhouse.com/fa9e74d6-f107-4d0f-8446-04974d5f6f11
Moreover, a similar check is not performed for the field type Date.
@jkaflik I believe the linked PR removes the unnecessary checks.
This module does a check that is not needed.
https://github.com/ClickHouse/clickhouse-go/blob/71347774889eb5c5de9549423fba341518440742/lib/column/date_helpers.go#L45
Clickhouse allows insertion of data earlier than 1900. A conversion to the minimum date for the field type is performed.
https://fiddle.clickhouse.com/fa9e74d6-f107-4d0f-8446-04974d5f6f11
Moreover, a similar check is not performed for the field type Date.