mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-03 22:08:16 +00:00
ISSUE-1088: Fix array_agg wildcard behavior (#1093)
Co-authored-by: Andrew Repp <arepp@cloudflare.com>
This commit is contained in:
parent
398a81029e
commit
70764a17e9
4 changed files with 111 additions and 36 deletions
|
@ -2403,6 +2403,12 @@ fn parse_array_agg_func() {
|
|||
] {
|
||||
supported_dialects.verified_stmt(sql);
|
||||
}
|
||||
|
||||
// follows special-case array_agg code path. fails in everything except postgres
|
||||
let wc_sql = "SELECT ARRAY_AGG(sections_tbl.*) AS sections FROM sections_tbl";
|
||||
all_dialects_but_pg()
|
||||
.parse_sql_statements(wc_sql)
|
||||
.expect_err("should have failed");
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue