Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional varchar(x) product tests
Test varchar(x) columns read for orc files with dictionary encoding.
- Loading branch information
Showing
4 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+296 Bytes
presto-product-tests/src/main/resources/sql-tests/datasets/orc_varchar_dictionary.data
Binary file not shown.
1 change: 1 addition & 0 deletions
1
...-product-tests/src/main/resources/sql-tests/datasets/orc_varchar_dictionary.data-revision
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 @@ | ||
v.1.0 |
6 changes: 6 additions & 0 deletions
6
presto-product-tests/src/main/resources/sql-tests/datasets/orc_varchar_dictionary.ddl
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,6 @@ | ||
-- type: hive | ||
CREATE EXTERNAL TABLE %NAME%( | ||
c_varchar VARCHAR(9) | ||
) | ||
STORED AS ORC | ||
LOCATION '%LOCATION%' |
6 changes: 6 additions & 0 deletions
6
...roduct-tests/src/main/resources/sql-tests/testcases/orc/select_varchar_orc_dictionary.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,6 @@ | ||
-- database: presto; groups: varchar; tables: orc_varchar_dictionary; | ||
--! | ||
SELECT c_varchar FROM orc_varchar_dictionary WHERE c_varchar IS NOT NULL LIMIT 1 | ||
--! | ||
-- delimiter: |; trimValues: true; ignoreOrder: true; | ||
column_va |