Skip to content

Commit 9a6eb40

Browse files
consequent changes
Signed-off-by: Vikrant Puppala <vikrant.puppala@databricks.com>
1 parent a56fb03 commit 9a6eb40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_thrift_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def test_make_request_checks_thrift_status_code(self):
8686

8787
def _make_type_desc(self, type):
8888
return ttypes.TTypeDesc(
89-
types=[ttypes.TTypeEntry(ttypes.TTAllowedParameterValueEntry(type=type))]
89+
types=[ttypes.TTypeEntry(primitiveEntry=ttypes.TPrimitiveTypeEntry(type=type))]
9090
)
9191

9292
def _make_fake_thrift_backend(self):
@@ -510,7 +510,7 @@ def test_hive_schema_to_description_preserves_scale_and_precision(self):
510510
typeDesc=ttypes.TTypeDesc(
511511
types=[
512512
ttypes.TTypeEntry(
513-
ttypes.TTAllowedParameterValueEntry(
513+
primitiveEntry=ttypes.TPrimitiveTypeEntry(
514514
type=ttypes.TTypeId.DECIMAL_TYPE,
515515
typeQualifiers=ttypes.TTypeQualifiers(
516516
qualifiers={

0 commit comments

Comments
 (0)