[ 
https://issues.apache.org/jira/browse/BEAM-13741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17515515#comment-17515515
 ] 

Andrew Pilloud commented on BEAM-13741:
---------------------------------------

The class is bundled in the vendored jar, this is an issue with the build 
process:
{code}
$ unzip -l beam-vendor-calcite-1_28_0-0.2.jar  | grep schema/Statistic.class
     1562  1980-02-01 00:00   
org/apache/beam/vendor/calcite/v1_28_0/org/apache/calcite/schema/Statistic.class
{code}

I was able to reproduce this with `./gradlew 
:sdks:java:extensions:sql:hcatalog:compileJava` on a clean checkout. Adding 
calcite as a dependency fixed the issue. Sending a PR.

> :sdks:java:extensions:sql:hcatalog:compileJava failing in 
> beam_Release_NightlySnapshot 
> ---------------------------------------------------------------------------------------
>
>                 Key: BEAM-13741
>                 URL: https://issues.apache.org/jira/browse/BEAM-13741
>             Project: Beam
>          Issue Type: Bug
>          Components: test-failures
>            Reporter: Brian Hulette
>            Assignee: Kiley Sok
>            Priority: P1
>              Labels: currently-failing, stale-assigned
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Started in https://ci-beam.apache.org/job/beam_Release_NightlySnapshot/1421/
> {code}
> 23:36:14 > Task :sdks:java:extensions:sql:hcatalog:compileJava FAILED
> 23:36:14 error: cannot access Statistic
> 23:36:14   class file for 
> org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.schema.Statistic 
> not found
> 23:36:14   Consult the following stack trace for details.
> 23:36:14   com.sun.tools.javac.code.Symbol$CompletionFailure: class file for 
> org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.schema.Statistic 
> not found
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to