We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e1bb57 commit 0f81fe8Copy full SHA for 0f81fe8
1 file changed
tests/integration/test_reads.py
@@ -118,11 +118,10 @@ def test_table_properties(catalog: Catalog) -> None:
118
def test_hive_properties(catalog: HiveCatalog) -> None:
119
table = create_table(catalog)
120
table.transaction().set_properties({"abc": "def", "p1": "123"}).commit_transaction()
121
- pTABLE_NAME = ("default", "t1")
122
hive_client: _HiveClient = _HiveClient(catalog.properties["uri"])
123
124
with hive_client as open_client:
125
- catalog._get_hive_table(open_client, dbname="default", tbl_name="t1")
+ hive_table = catalog._get_hive_table(open_client, dbname="default", tbl_name="t1")
126
assert hive_table.parameters.get("abc") == "def"
127
assert hive_table.parameters.get("p1") == "123"
128
assert hive_table.parameters.get("not_exist_parameter") is None
0 commit comments