I want to write a dataframe with struct type column into clickhouse. But it raises an error:
Can't convert 'StructType([StructField('addon_id', StringType(), True), StructField('app_slug', StringType(), True), StructField('token', StringType(), True), StructField('uri', StringType(), True), StructField('in_browser', BooleanType(), True), StructField('addon_position', StringType(), True)])' datatype from spark to clickhouse.
Why struct type does not convert to NestedType/Tuple/Json?
How can we create NestedType/Tuple/ Json Column using spark-clickhouse-connector ?
I want to write a dataframe with struct type column into clickhouse. But it raises an error:
Can't convert 'StructType([StructField('addon_id', StringType(), True), StructField('app_slug', StringType(), True), StructField('token', StringType(), True), StructField('uri', StringType(), True), StructField('in_browser', BooleanType(), True), StructField('addon_position', StringType(), True)])' datatype from spark to clickhouse.
NestedType
/Tuple
/Json
?NestedType
/Tuple
/Json
Column usingspark-clickhouse-connector
?