We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 606c005 commit 553b8b5Copy full SHA for 553b8b5
spark-3.3/clickhouse-spark/src/main/scala/org/apache/spark/sql/clickhouse/SchemaUtils.scala
@@ -38,6 +38,7 @@ object SchemaUtils {
38
val (unwrappedChType, nullable) = unwrapNullable(unwrapLowCardinalityTypePattern(chType))
39
val catalystType = unwrappedChType match {
40
case "String" | "UUID" | fixedStringTypePattern() | enumTypePattern(_) => StringType
41
+ case "Bool" => BooleanType
42
case "Int8" => ByteType
43
case "UInt8" | "Int16" => ShortType
44
case "UInt16" | "Int32" => IntegerType
0 commit comments