You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Anton Kedin (JIRA)" <ji...@apache.org> on 2018/08/10 21:30:00 UTC

[jira] [Created] (BEAM-5127) [SQL] Avoid String parsing in BeamTableUtils

Anton Kedin created BEAM-5127:
---------------------------------

             Summary: [SQL] Avoid String parsing in BeamTableUtils
                 Key: BEAM-5127
                 URL: https://issues.apache.org/jira/browse/BEAM-5127
             Project: Beam
          Issue Type: Bug
          Components: dsl-sql
            Reporter: Anton Kedin


Looks like we're going through DateTime parsing on each projection: 

https://github.com/apache/beam/blob/9319ce18ac625b239c8cdc1b32e2b697d83c2504/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/rel/BeamCalcRel.java#L125

https://github.com/apache/beam/blob/9ef5e8690871737cccfe513ac00481320f662c18/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/schema/BeamTableUtils.java#L110

We should avoid unnecessary casting and parsing





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)