From 5ed8b683e1fe943e13981895f8c5a14ffe26a5e4 Mon Sep 17 00:00:00 2001 From: Jiayu Liu Date: Thu, 3 Feb 2022 15:51:27 +0800 Subject: [PATCH] fix test cases --- .../main_spark.py | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arrow-parquet-integration-testing/main_spark.py b/arrow-parquet-integration-testing/main_spark.py index 87bb350399e..c33a1aa63ad 100644 --- a/arrow-parquet-integration-testing/main_spark.py +++ b/arrow-parquet-integration-testing/main_spark.py @@ -42,17 +42,17 @@ def test(file: str, version: str, column, compression: str, encoding: str): test("generated_primitive", "2", ("utf8_nullable", 24), "uncompressed", "delta") test("generated_primitive", "2", ("utf8_nullable", 24), "snappy", "delta") -test("generated_dictionary", "1", ("dict0", 0), "uncompressed", "") -test("generated_dictionary", "1", ("dict0", 0), "snappy", "") -test("generated_dictionary", "2", ("dict0", 0), "uncompressed", "") -test("generated_dictionary", "2", ("dict0", 0), "snappy", "") - -test("generated_dictionary", "1", ("dict1", 1), "uncompressed", "") -test("generated_dictionary", "1", ("dict1", 1), "snappy", "") -test("generated_dictionary", "2", ("dict1", 1), "uncompressed", "") -test("generated_dictionary", "2", ("dict1", 1), "snappy", "") - -test("generated_dictionary", "1", ("dict2", 2), "uncompressed", "") -test("generated_dictionary", "1", ("dict2", 2), "snappy", "") -test("generated_dictionary", "2", ("dict2", 2), "uncompressed", "") -test("generated_dictionary", "2", ("dict2", 2), "snappy", "") +test("generated_dictionary", "1", ("dict0", 0), "uncompressed", "plain") +test("generated_dictionary", "1", ("dict0", 0), "snappy", "plain") +test("generated_dictionary", "2", ("dict0", 0), "uncompressed", "plain") +test("generated_dictionary", "2", ("dict0", 0), "snappy", "plain") + +test("generated_dictionary", "1", ("dict1", 1), "uncompressed", "plain") +test("generated_dictionary", "1", ("dict1", 1), "snappy", "plain") +test("generated_dictionary", "2", ("dict1", 1), "uncompressed", "plain") +test("generated_dictionary", "2", ("dict1", 1), "snappy", "plain") + +test("generated_dictionary", "1", ("dict2", 2), "uncompressed", "plain") +test("generated_dictionary", "1", ("dict2", 2), "snappy", "plain") +test("generated_dictionary", "2", ("dict2", 2), "uncompressed", "plain") +test("generated_dictionary", "2", ("dict2", 2), "snappy", "plain")