diff --git a/src/tests/sqlsmith/src/sql_gen/types.rs b/src/tests/sqlsmith/src/sql_gen/types.rs index 141accc71abc2..bc8c5f87dd88a 100644 --- a/src/tests/sqlsmith/src/sql_gen/types.rs +++ b/src/tests/sqlsmith/src/sql_gen/types.rs @@ -35,7 +35,7 @@ pub(super) fn data_type_to_ast_data_type(data_type: &DataType) -> AstDataType { DataType::Decimal => AstDataType::Decimal(None, None), DataType::Float32 => AstDataType::Real, DataType::Float64 => AstDataType::Double, - DataType::Varchar => AstDataType::Varchar, + DataType::Varchar => AstDataType::Varchar(None), DataType::Bytea => AstDataType::Bytea, DataType::Date => AstDataType::Date, DataType::Timestamp => AstDataType::Timestamp(false),