Skip to content

Commit 835b2f1

Browse files
authored
Enable table compression in smoke test (#531)
* enalbe table compression in smoke test * fix linter * fix pre commit
1 parent bdc2c4f commit 835b2f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/templates/kuttl/smoke/test_metastore.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def table(db_name, table_name, location):
2727
input_format="org.apache.hadoop.hive.ql.io.parquet.MapredParquetInputFormat",
2828
output_format="org.apache.hadoop.hive.ql.io.parquet.MapredParquetOutputFormat",
2929
serde_info=serde_info,
30+
compressed=True,
3031
).build()
3132

3233
test_table = TableBuilder(
@@ -88,7 +89,9 @@ def table(db_name, table_name, location):
8889
# S3 access
8990
try:
9091
hive_client.create_table(
91-
table(database_name, s3_test_table_name, "s3a://hive/s3_one_column_table/")
92+
table(
93+
database_name, s3_test_table_name, "s3a://hive/s3_one_column_table/"
94+
)
9295
)
9396
except AlreadyExistsException:
9497
print(f"[INFO]: Table {s3_test_table_name} already existed")

0 commit comments

Comments
 (0)