Skip to content

Commit fff66b6

Browse files
committed
fix: pbSchmema typo
1 parent 7bb7c16 commit fff66b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db_proto/sql/click_house/dialect.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ func indexString(table *schema.Table) (string, error) {
307307
var indexStrings []string
308308
for _, indexField := range table.PbTableInfo.ClickhouseTableOptions.IndexFields {
309309
fieldName := indexField.FieldName
310-
if indexField.Function != pbSchmema.Function_unset {
310+
if indexField.Function != pbSchema.Function_unset {
311311
fieldName = fmt.Sprintf("%s(%s)", indexField.Function.String(), fieldName)
312312
}
313313

0 commit comments

Comments
 (0)