robertwb commented on a change in pull request #11901:
URL: https://github.com/apache/beam/pull/11901#discussion_r437080538



##########
File path: sdks/python/apache_beam/transforms/sql.py
##########
@@ -74,3 +77,8 @@ def __init__(self, query, dialect=None):
             SqlTransformSchema(query=query, dialect=dialect)),
         BeamJarExpansionService(
             ':sdks:java:extensions:sql:expansion-service:shadowJar'))
+
+
+class Row(object):
+  def __init__(self, **kwargs):
+    self.__dict__.update(kwargs)

Review comment:
       Is there going to be any other top-level schema stuff that it would make 
sense for this to be a sibling to? Otherwise, perhaps I could just put at a top 
level, and one would use it as `apache_beam.Row`. 




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to