-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRILL-7409: Check if BigInt is read correctly with parquet in diction… (
#601) * DRILL-7409: Check if BigInt is read correctly with parquet in dictionary encoding. * DRILL-7409: moved test data
- Loading branch information
1 parent
046e85f
commit 9a5d7ec
Showing
4 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+1.83 MB
framework/resources/Datasources/parquet_storage/bigIntDictionary.parquet
Binary file not shown.
1 change: 1 addition & 0 deletions
1
framework/resources/Functional/parquet_storage/dictionary/BigInt.e_tsv
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 @@ | ||
190928593476806865 |
1 change: 1 addition & 0 deletions
1
framework/resources/Functional/parquet_storage/dictionary/BigInt.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 @@ | ||
SELECT sum(ts) FROM dfs.drilltestdir.`parquet/bigIntDictionary/bigIntDictionary.parquet` |
27 changes: 27 additions & 0 deletions
27
framework/resources/Functional/parquet_storage/dictionary/dictionary.json
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,27 @@ | ||
{ | ||
"testId": "parquet_dictionary_enc", | ||
"type": "group", | ||
"description": "Test querying parquet files in the dictionary encoding.", | ||
"submit-type": "jdbc", | ||
"categories": [ | ||
"functional" | ||
], | ||
"matrices": [ | ||
{ | ||
"query-file": ".*.sql", | ||
"schema": "dfs.drilltestdir", | ||
"output-format": "tsv", | ||
"expected-file": ".*.e_tsv", | ||
"verification-type": [ | ||
"in-memory" | ||
] | ||
} | ||
], | ||
"datasources": [ | ||
{ | ||
"mode": "cp", | ||
"src": "Datasources/parquet_storage/bigIntDictionary.parquet", | ||
"dest": "parquet/bigIntDictionary/bigIntDictionary.parquet" | ||
} | ||
] | ||
} |