Skip to content

Commit 8cb1625

Browse files
committed
more api updates
1 parent 6bfb30d commit 8cb1625

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

datafusion/sql/src/unparser/dialect.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ impl PostgreSqlDialect {
300300
over: None,
301301
within_group: vec![],
302302
parameters: ast::FunctionArguments::None,
303+
uses_odbc_syntax: false,
303304
}))
304305
}
305306
}

datafusion/sql/src/unparser/expr.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ impl Unparser<'_> {
247247
over,
248248
within_group: vec![],
249249
parameters: ast::FunctionArguments::None,
250+
uses_odbc_syntax: false,
250251
}))
251252
}
252253
Expr::SimilarTo(Like {
@@ -295,6 +296,7 @@ impl Unparser<'_> {
295296
over: None,
296297
within_group: vec![],
297298
parameters: ast::FunctionArguments::None,
299+
uses_odbc_syntax: false,
298300
}))
299301
}
300302
Expr::ScalarSubquery(subq) => {
@@ -500,6 +502,7 @@ impl Unparser<'_> {
500502
over: None,
501503
within_group: vec![],
502504
parameters: ast::FunctionArguments::None,
505+
uses_odbc_syntax: false,
503506
}))
504507
}
505508

@@ -1504,6 +1507,7 @@ impl Unparser<'_> {
15041507
over: None,
15051508
within_group: vec![],
15061509
parameters: ast::FunctionArguments::None,
1510+
uses_odbc_syntax: false,
15071511
}))
15081512
}
15091513

datafusion/sql/src/unparser/utils.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ pub(crate) fn date_part_to_sql(
445445
over: None,
446446
within_group: vec![],
447447
parameters: ast::FunctionArguments::None,
448+
uses_odbc_syntax: false,
448449
})));
449450
}
450451
}

0 commit comments

Comments
 (0)