mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 14:28:22 +00:00
Add support for TOP before ALL/DISTINCT (#1495)
This commit is contained in:
parent
05821cc7db
commit
a5b0092506
10 changed files with 67 additions and 7 deletions
|
@ -261,6 +261,7 @@ fn test_select_union_by_name() {
|
|||
left: Box::<SetExpr>::new(SetExpr::Select(Box::new(Select {
|
||||
distinct: None,
|
||||
top: None,
|
||||
top_before_distinct: false,
|
||||
projection: vec![SelectItem::Wildcard(WildcardAdditionalOptions {
|
||||
opt_ilike: None,
|
||||
opt_exclude: None,
|
||||
|
@ -301,6 +302,7 @@ fn test_select_union_by_name() {
|
|||
right: Box::<SetExpr>::new(SetExpr::Select(Box::new(Select {
|
||||
distinct: None,
|
||||
top: None,
|
||||
top_before_distinct: false,
|
||||
projection: vec![SelectItem::Wildcard(WildcardAdditionalOptions {
|
||||
opt_ilike: None,
|
||||
opt_exclude: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue