beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xu Mingmin (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (BEAM-3386) Dependency conflict when Calcite is included in a project.
Date Tue, 30 Jan 2018 20:06:00 GMT

     [ https://issues.apache.org/jira/browse/BEAM-3386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xu Mingmin reassigned BEAM-3386:
--------------------------------

    Assignee:     (was: Xu Mingmin)

> Dependency conflict when Calcite is included in a project.
> ----------------------------------------------------------
>
>                 Key: BEAM-3386
>                 URL: https://issues.apache.org/jira/browse/BEAM-3386
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>    Affects Versions: 2.2.0
>            Reporter: Austin Haas
>            Priority: Major
>
> When Calcite (v. 1.13.0) is included in a project that also includes Beam and the Beam
SQL extension, then the following error is thrown when trying to run Beam code.
> ClassCastException org.apache.beam.sdk.extensions.sql.impl.planner.BeamRelDataTypeSystem
cannot be cast to org.apache.calcite.rel.type.RelDataTypeSystem
>     org.apache.calcite.jdbc.CalciteConnectionImpl.<init> (CalciteConnectionImpl.java:120)
>     org.apache.calcite.jdbc.CalciteJdbc41Factory$CalciteJdbc41Connection.<init>
(CalciteJdbc41Factory.java:114)
>     org.apache.calcite.jdbc.CalciteJdbc41Factory.newConnection (CalciteJdbc41Factory.java:59)
>     org.apache.calcite.jdbc.CalciteJdbc41Factory.newConnection (CalciteJdbc41Factory.java:44)
>     org.apache.calcite.jdbc.CalciteFactory.newConnection (CalciteFactory.java:53)
>     org.apache.calcite.avatica.UnregisteredDriver.connect (UnregisteredDriver.java:138)
>     java.sql.DriverManager.getConnection (DriverManager.java:664)
>     java.sql.DriverManager.getConnection (DriverManager.java:208)
>     org.apache.beam.sdks.java.extensions.sql.repackaged.org.apache.calcite.tools.Frameworks.withPrepare
(Frameworks.java:145)
>     org.apache.beam.sdks.java.extensions.sql.repackaged.org.apache.calcite.tools.Frameworks.withPlanner
(Frameworks.java:106)
>     org.apache.beam.sdks.java.extensions.sql.repackaged.org.apache.calcite.prepare.PlannerImpl.ready
(PlannerImpl.java:140)
>     org.apache.beam.sdks.java.extensions.sql.repackaged.org.apache.calcite.prepare.PlannerImpl.parse
(PlannerImpl.java:170)



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

Mime
View raw message