You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2021/11/03 15:34:00 UTC
[jira] [Commented] (BEAM-13179) Artifacts that use vendored calcite
1.28.0 fail with annotation processing error in :compileJava
[ https://issues.apache.org/jira/browse/BEAM-13179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438148#comment-17438148 ]
Brian Hulette commented on BEAM-13179:
--------------------------------------
Part of the challenge of debugging this is just getting sufficient logging from the compiler to understand what's going wrong. I found I could get some additional logging by adding additional flags in the sql build.gradle, like this:
{code}
compileJava {
options.compilerArgs << '-verbose'
options.compilerArgs << '-XprintRounds'
options.compilerArgs << '-XprintProcessorInfo'
options.compilerArgs << '-Xlint'
options.forkOptions.jvmArgs << '-J-verbose'
}
{code}
But that still wasn't enough (for me) to debug.
> Artifacts that use vendored calcite 1.28.0 fail with annotation processing error in :compileJava
> ------------------------------------------------------------------------------------------------
>
> Key: BEAM-13179
> URL: https://issues.apache.org/jira/browse/BEAM-13179
> Project: Beam
> Issue Type: Bug
> Components: dsl-sql, dsl-sql-zetasql
> Reporter: Brian Hulette
> Priority: P2
>
> See https://github.com/apache/beam/pull/15836#discussion_r741391551
> We can work around it by adding a provided dependency on org.immutables.value:value (the package for immutable annotations used by Calcite), but we shouldn't need to add this.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)