-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into replace_views
- Loading branch information
Showing
7 changed files
with
50 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
test/regression/expected/projection_pushdown_unsupported_type.out
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
-- XML is not supported, pushdown should avoid problems | ||
CREATE TABLE my_table(a TEXT, b XML, c INTEGER); | ||
INSERT INTO my_table (a, b, c) SELECT * from ( | ||
VALUES | ||
('a', '<root><element>value</element></root>'::XML, 42), | ||
(NULL, NULL, NULL), | ||
('b', '<root><element>value</element></root>'::XML, -128), | ||
('c', '<root><element>value</element></root>'::XML, 2000000) | ||
) t(a); | ||
SELECT a, c FROM my_table; | ||
a | c | ||
---+--------- | ||
a | 42 | ||
| | ||
b | -128 | ||
c | 2000000 | ||
(4 rows) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
test/regression/sql/projection_pushdown_unsupported_type.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- XML is not supported, pushdown should avoid problems | ||
CREATE TABLE my_table(a TEXT, b XML, c INTEGER); | ||
INSERT INTO my_table (a, b, c) SELECT * from ( | ||
VALUES | ||
('a', '<root><element>value</element></root>'::XML, 42), | ||
(NULL, NULL, NULL), | ||
('b', '<root><element>value</element></root>'::XML, -128), | ||
('c', '<root><element>value</element></root>'::XML, 2000000) | ||
) t(a); | ||
SELECT a, c FROM my_table; |