We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a800bd commit 545b91fCopy full SHA for 545b91f
1 file changed
be/src/exec/table_connector.cpp
@@ -279,7 +279,8 @@ Status TableConnector::convert_column_data(const vectorized::ColumnPtr& column_p
279
case TYPE_DECIMAL32:
280
case TYPE_DECIMAL64:
281
case TYPE_DECIMAL128I: {
282
- auto val = type_ptr->to_string(*column, row);
+ auto decimal_type = remove_nullable(type_ptr);
283
+ auto val = decimal_type->to_string(*column, row);
284
fmt::format_to(_insert_stmt_buffer, "{}", val);
285
break;
286
}
0 commit comments