You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/25 21:51:00 UTC

[jira] [Work logged] (BEAM-8080) java.lang.NoClassDefFoundError: org/apache/beam/repackaged/sql/com/google/type/Date

     [ https://issues.apache.org/jira/browse/BEAM-8080?focusedWorklogId=318617&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-318617 ]

ASF GitHub Bot logged work on BEAM-8080:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 25/Sep/19 21:50
            Start Date: 25/Sep/19 21:50
    Worklog Time Spent: 10m 
      Work Description: kennknowles commented on issue #9414: [BEAM-8080] [SQL] Fix relocation of com.google.types
URL: https://github.com/apache/beam/pull/9414#issuecomment-535236061
 
 
   BTW you have to bundle com.google.type along with com.google.protobuf or you get into trouble. So the intermediate state results in things like `java.lang.NoSuchMethodError: com.google.type.Date.getDescriptor()Lorg/apache/beam/repackaged/sql/com/google/protobuf/Descriptors$Descriptor`. I think it may be solved via the changes to use vendored Calcite. I'm trying it out now. I'm a bit surprised testing did not catch this.
 
----------------------------------------------------------------
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:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 318617)
    Time Spent: 1h 40m  (was: 1.5h)

> java.lang.NoClassDefFoundError: org/apache/beam/repackaged/sql/com/google/type/Date
> -----------------------------------------------------------------------------------
>
>                 Key: BEAM-8080
>                 URL: https://issues.apache.org/jira/browse/BEAM-8080
>             Project: Beam
>          Issue Type: Sub-task
>          Components: dsl-sql-zetasql
>            Reporter: Gleb Kanterov
>            Assignee: Gleb Kanterov
>            Priority: Critical
>             Fix For: 2.16.0
>
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> {code}
> java.lang.NoClassDefFoundError: org/apache/beam/repackaged/sql/com/google/type/Date
> 	at org.apache.beam.repackaged.sql.com.google.zetasql.SimpleCatalog.processGetBuiltinFunctionsResponse(SimpleCatalog.java:380)
> 	at org.apache.beam.repackaged.sql.com.google.zetasql.SimpleCatalog.addZetaSQLFunctions(SimpleCatalog.java:365)
> 	at org.apache.beam.sdk.extensions.sql.zetasql.SqlAnalyzer.addBuiltinFunctionsToCatalog(SqlAnalyzer.java:146)
> 	at org.apache.beam.sdk.extensions.sql.zetasql.SqlAnalyzer.createPopulatedCatalog(SqlAnalyzer.java:130)
> 	at org.apache.beam.sdk.extensions.sql.zetasql.SqlAnalyzer.analyze(SqlAnalyzer.java:90)
> 	at org.apache.beam.sdk.extensions.sql.zetasql.SqlAnalyzer$Builder.analyze(SqlAnalyzer.java:275)
> 	at org.apache.beam.sdk.extensions.sql.zetasql.ZetaSQLPlannerImpl.rel(ZetaSQLPlannerImpl.java:135)
> 	at org.apache.beam.sdk.extensions.sql.zetasql.ZetaSQLQueryPlanner.parseQuery(ZetaSQLQueryPlanner.java:92)
> 	at org.apache.beam.sdk.extensions.sql.zetasql.ZetaSQLQueryPlanner.parseQuery(ZetaSQLQueryPlanner.java:87)
> 	at org.apache.beam.sdk.extensions.sql.zetasql.ZetaSQLQueryPlanner.convertToBeamRel(ZetaSQLQueryPlanner.java:66)
> 	at org.apache.beam.sdk.extensions.sql.impl.BeamSqlEnv.parseQuery(BeamSqlEnv.java:103)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)