mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-09 18:04:59 +00:00
Support DISTINCT ON (...)
(#852)
* Support "DISTINCT ON (...)" * a test * fix the merge
This commit is contained in:
parent
f72e2ec382
commit
3b1076c194
7 changed files with 96 additions and 31 deletions
|
@ -1694,7 +1694,7 @@ fn parse_array_subquery_expr() {
|
|||
op: SetOperator::Union,
|
||||
set_quantifier: SetQuantifier::None,
|
||||
left: Box::new(SetExpr::Select(Box::new(Select {
|
||||
distinct: false,
|
||||
distinct: None,
|
||||
top: None,
|
||||
projection: vec![SelectItem::UnnamedExpr(Expr::Value(Value::Number(
|
||||
#[cfg(not(feature = "bigdecimal"))]
|
||||
|
@ -1715,7 +1715,7 @@ fn parse_array_subquery_expr() {
|
|||
qualify: None,
|
||||
}))),
|
||||
right: Box::new(SetExpr::Select(Box::new(Select {
|
||||
distinct: false,
|
||||
distinct: None,
|
||||
top: None,
|
||||
projection: vec![SelectItem::UnnamedExpr(Expr::Value(Value::Number(
|
||||
#[cfg(not(feature = "bigdecimal"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue