We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a56fb03 commit 9a6eb40Copy full SHA for 9a6eb40
1 file changed
tests/unit/test_thrift_backend.py
@@ -86,7 +86,7 @@ def test_make_request_checks_thrift_status_code(self):
86
87
def _make_type_desc(self, type):
88
return ttypes.TTypeDesc(
89
- types=[ttypes.TTypeEntry(ttypes.TTAllowedParameterValueEntry(type=type))]
+ types=[ttypes.TTypeEntry(primitiveEntry=ttypes.TPrimitiveTypeEntry(type=type))]
90
)
91
92
def _make_fake_thrift_backend(self):
@@ -510,7 +510,7 @@ def test_hive_schema_to_description_preserves_scale_and_precision(self):
510
typeDesc=ttypes.TTypeDesc(
511
types=[
512
ttypes.TTypeEntry(
513
- ttypes.TTAllowedParameterValueEntry(
+ primitiveEntry=ttypes.TPrimitiveTypeEntry(
514
type=ttypes.TTypeId.DECIMAL_TYPE,
515
typeQualifiers=ttypes.TTypeQualifiers(
516
qualifiers={
0 commit comments