We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b399fc5 commit 9ff2bbdCopy full SHA for 9ff2bbd
sdks/python/apache_beam/typehints/schemas.py
@@ -556,7 +556,7 @@ def typing_from_runner_api(
556
fieldtype_proto.logical_type)
557
# Special case for GeographyType: return the logical type class itself
558
# instead of the language_type to maintain semantic meaning
559
- if fieldtype_proto.logical_type.urn == "beam:logical_type:geography:v1":
+ if fieldtype_proto.logical_type.urn == GeographyType.urn():
560
return type(logical_type_instance)
561
else:
562
return logical_type_instance.language_type()
0 commit comments