Closed maktouch closed 1 month ago
Date(32) can only be inserted as strings, since the Date object is serialized including the time part and apparently that does not work well with CH even with best_effort setting. This is mentioned in the docs: https://clickhouse.com/docs/en/integrations/language-clients/javascript#datedate32-types-caveats
Since the client inserts values without additional type conversion,
Ah I see. I had no clue there was no transform. Thanks for the feedback!
Describe the bug
Steps to reproduce
1.
2.
3.
Expected behaviour
I expected this to work. It works when I format I use
new Date().toISOString().substring(0, 10)
... but it kinda should do this automatically? It works when the column type is DateTime though.ClickHouse server