Skip to content

Commit d9e48a5

Browse files
committed
fix(common): add missing CHAR/VARCHAR cases in data type parser
1 parent 17ab0c3 commit d9e48a5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/paimon/common/types/data_type_json_parser.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,9 @@ Result<std::shared_ptr<arrow::DataType>> TokenParser::ParseTypeByKeyword(bool* i
470470
*is_blob = true;
471471
return arrow::large_binary();
472472
}
473+
case Keyword::CHAR:
474+
case Keyword::VARCHAR:
475+
return ParseStringType<arrow::StringType>();
473476
case Keyword::STRING:
474477
return arrow::utf8();
475478
case Keyword::BOOLEAN:

0 commit comments

Comments
 (0)