File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ pub enum DataType {
274274 String ( Option < u64 > ) ,
275275 /// A fixed-length string e.g [ClickHouse][1].
276276 ///
277- /// [1] https://clickhouse.com/docs/en/sql-reference/data-types/fixedstring
277+ /// [1]: https://clickhouse.com/docs/en/sql-reference/data-types/fixedstring
278278 FixedString ( u64 ) ,
279279 /// Bytea
280280 Bytea ,
Original file line number Diff line number Diff line change @@ -2236,9 +2236,10 @@ impl<'a> Parser<'a> {
22362236 /// ```sql
22372237 /// [field_name] field_type
22382238 /// ```
2239- /// [1] https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#declaring_a_struct_type
2240- /// [2] https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested
2241- /// [3] https://clickhouse.com/docs/en/sql-reference/data-types/tuple
2239+ ///
2240+ /// [1]: https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types#declaring_a_struct_type
2241+ /// [2]: https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested
2242+ /// [3]: https://clickhouse.com/docs/en/sql-reference/data-types/tuple
22422243 fn parse_struct_field_def (
22432244 & mut self ,
22442245 allow_anonymous : bool ,
Original file line number Diff line number Diff line change @@ -263,9 +263,10 @@ fn parse_create_table_with_nullable() {
263263 name: Ident :: new( "d" ) ,
264264 data_type: DataType :: Date32 ,
265265 collation: None ,
266- options: vec![
267- ColumnOptionDef { name: None , option: ColumnOption :: Null }
268- ] ,
266+ options: vec![ ColumnOptionDef {
267+ name: None ,
268+ option: ColumnOption :: Null
269+ } ] ,
269270 } ,
270271 ]
271272 ) ;
You can’t perform that action at this time.
0 commit comments