Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 7c7c5da

Browse files
authored
1 parent abf9298 commit 7c7c5da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

quesma/clickhouse/schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ type UnknownType struct{}
203203

204204
func ResolveType(clickHouseTypeName string) reflect.Type {
205205
switch clickHouseTypeName {
206-
case "String", "LowCardinality(String)", "UUID":
206+
case "String", "LowCardinality(String)", "UUID", "FixedString":
207207
return reflect.TypeOf("")
208208
case "DateTime64", "DateTime", "Date", "DateTime64(3)":
209209
return reflect.TypeOf(time.Time{})

quesma/clickhouse/type_adapter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func (c SchemaTypeAdapter) Convert(s string) (schema.QuesmaType, bool) {
2222
}
2323

2424
switch s {
25-
case "String", "LowCardinality(String)":
25+
case "String", "LowCardinality(String)", "UUID", "FixedString":
2626
return schema.QuesmaTypeKeyword, true
2727
case "Int", "Int8", "Int16", "Int32", "Int64":
2828
return schema.QuesmaTypeLong, true

0 commit comments

Comments
 (0)