Skip to content

Commit 7d37a0d

Browse files
author
aleksei.p
committed
update
1 parent 9f47fdb commit 7d37a0d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/sqlparser_clickhouse.rs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,15 @@ fn parse_create_table_with_nullable() {
310310
"c".into(),
311311
DataType::Nullable(Box::new(DataType::Datetime64(9, None)))
312312
),
313-
column_def("d".into(), DataType::Date32),
313+
ColumnDef {
314+
name: "d".into(),
315+
data_type: DataType::Date32,
316+
collation: None,
317+
options: vec![ColumnOptionDef {
318+
name: None,
319+
option: ColumnOption::Null
320+
}],
321+
}
314322
]
315323
);
316324
}

0 commit comments

Comments
 (0)