File tree 3 files changed +9
-7
lines changed
3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ pub enum DataType {
274
274
String ( Option < u64 > ) ,
275
275
/// A fixed-length string e.g [ClickHouse][1].
276
276
///
277
- /// [1] https://clickhouse.com/docs/en/sql-reference/data-types/fixedstring
277
+ /// [1]: https://clickhouse.com/docs/en/sql-reference/data-types/fixedstring
278
278
FixedString ( u64 ) ,
279
279
/// Bytea
280
280
Bytea ,
Original file line number Diff line number Diff line change @@ -2236,9 +2236,10 @@ impl<'a> Parser<'a> {
2236
2236
/// ```sql
2237
2237
/// [field_name] field_type
2238
2238
/// ```
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
2242
2243
fn parse_struct_field_def (
2243
2244
& mut self ,
2244
2245
allow_anonymous : bool ,
Original file line number Diff line number Diff line change @@ -263,9 +263,10 @@ fn parse_create_table_with_nullable() {
263
263
name: Ident :: new( "d" ) ,
264
264
data_type: DataType :: Date32 ,
265
265
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
+ } ] ,
269
270
} ,
270
271
]
271
272
) ;
You can’t perform that action at this time.
0 commit comments