File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 = {
You can’t perform that action at this time.
0 commit comments