diff --git a/framework/resources/Datasources/parquet_storage/bigIntDictionary.parquet b/framework/resources/Datasources/parquet_storage/bigIntDictionary.parquet new file mode 100644 index 000000000..51c59ccc7 Binary files /dev/null and b/framework/resources/Datasources/parquet_storage/bigIntDictionary.parquet differ diff --git a/framework/resources/Functional/parquet_storage/dictionary/BigInt.e_tsv b/framework/resources/Functional/parquet_storage/dictionary/BigInt.e_tsv new file mode 100644 index 000000000..86250f994 --- /dev/null +++ b/framework/resources/Functional/parquet_storage/dictionary/BigInt.e_tsv @@ -0,0 +1 @@ +190928593476806865 diff --git a/framework/resources/Functional/parquet_storage/dictionary/BigInt.sql b/framework/resources/Functional/parquet_storage/dictionary/BigInt.sql new file mode 100644 index 000000000..e1f03dad9 --- /dev/null +++ b/framework/resources/Functional/parquet_storage/dictionary/BigInt.sql @@ -0,0 +1 @@ +SELECT sum(ts) FROM dfs.drilltestdir.`parquet/bigIntDictionary/bigIntDictionary.parquet` diff --git a/framework/resources/Functional/parquet_storage/dictionary/dictionary.json b/framework/resources/Functional/parquet_storage/dictionary/dictionary.json new file mode 100644 index 000000000..03e5799f5 --- /dev/null +++ b/framework/resources/Functional/parquet_storage/dictionary/dictionary.json @@ -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" + } + ] +}