Adding upstream version 16.7.7.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
7297023f4e
commit
0aa02fba5a
59 changed files with 16125 additions and 15681 deletions
8
tests/fixtures/optimizer/optimizer.sql
vendored
8
tests/fixtures/optimizer/optimizer.sql
vendored
|
@ -693,3 +693,11 @@ GROUP BY
|
|||
"x"."a" + 1 + 1
|
||||
HAVING
|
||||
"x"."a" + 1 + 1 + 1 + 1 > 1;
|
||||
|
||||
# title: replace alias with mult expression without wrapping it
|
||||
WITH cte AS (SELECT a * b AS c, a AS d, b as e FROM x) SELECT c + d - (c - e) AS f FROM cte;
|
||||
SELECT
|
||||
"x"."a" * "x"."b" + "x"."a" - (
|
||||
"x"."a" * "x"."b" - "x"."b"
|
||||
) AS "f"
|
||||
FROM "x" AS "x";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue