- Allow writing
ArrayType(TimestampType())
Spark column as Clickhouse'sArray(DateTime64(6))
. - Allow writing
ArrayType(ShortType())
Spark column as Clickhouse'sArray(Int16)
.
First release! 🎉
This version includes custom Clickhouse dialect for Apache Spark 3.5.x, with following enhancements:
- support for writing Spark's
ArrayType
to Clickhouse. Currently only few types are supported, likeArrayType(StringType)
,ArrayType(ByteType)
,ArrayType(LongType)
,ArrayType(FloatType)
. Unfortunately, reading Arrays from Clickhouse to Spark is not fully supported for now. - fixed issue when writing Spark's
TimestampType
lead to creating Clickhouse table withDateTime64(0)
instead ofDateTime64(6)
, resulting a precision loss (fractions of seconds were dropped). - fixed issue when writing Spark's
BooleanType
lead to creating Clickhouse table withUInt64
column instead ofBool
.