[
https://issues.apache.org/jira/browse/BEAM-13052?focusedWorklogId=680528&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-680528
]
ASF GitHub Bot logged work on BEAM-13052:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Nov/21 23:31
Start Date: 11/Nov/21 23:31
Worklog Time Spent: 10m
Work Description: chamikaramj commented on a change in pull request
#15817:
URL: https://github.com/apache/beam/pull/15817#discussion_r747639789
##########
File path: sdks/python/apache_beam/coders/typecoders.py
##########
@@ -80,12 +80,12 @@ def MakeXyzs(v):
class CoderRegistry(object):
"""A coder registry for typehint/coder associations."""
- def __init__(self, fallback_coder=None):
Review comment:
This change is backwards incompatible. Can we keep the extra keyword arg
and the default here ?
##########
File path: sdks/python/apache_beam/coders/typecoders.py
##########
@@ -97,8 +97,10 @@ def register_standard_coders(self, fallback_coder):
self._register_coder_internal(typehints.DictConstraint, coders.MapCoder)
# Default fallback coders applied in that order until the first matching
# coder found.
- default_fallback_coders = [coders.ProtoCoder, coders.FastPrimitivesCoder]
- self._fallback_coder = fallback_coder or FirstOf(default_fallback_coders)
+ default_fallback_coders = [
+ coders.ProtoCoder, coders.ProtoPlusCoder, coders.FastPrimitivesCoder
Review comment:
Can we change the list fo following so that matching order does not
change for other types ?
[coders.ProtoCoder, coders.FastPrimitivesCoder, coders.ProtoPlusCoder]
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 680528)
Time Spent: 12h 20m (was: 12h 10m)
> Pub/Sub Lite support for Python SDK
> -----------------------------------
>
> Key: BEAM-13052
> URL: https://issues.apache.org/jira/browse/BEAM-13052
> Project: Beam
> Issue Type: New Feature
> Components: io-py-gcp
> Reporter: Chamikara Madhusanka Jayalath
> Assignee: Daniel Collins
> Priority: P2
> Time Spent: 12h 20m
> Remaining Estimate: 0h
>
> Potentially we can make existing Java source/sink available to Python as
> cross-language transforms.
>
> cc: [~dpcollins-google]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)