Add support for TOP before ALL/DISTINCT (#1495)

This commit is contained in:
Yoav Cohen 2024-11-06 18:09:55 +01:00 committed by GitHub
parent 05821cc7db
commit a5b0092506
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 67 additions and 7 deletions

View file

@ -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,