[
https://issues.apache.org/jira/browse/IMPALA-13417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Smith reassigned IMPALA-13417:
--------------------------------------
Assignee: Michael Smith
> Calcite parser generated files are not getting cleaned properly
> ---------------------------------------------------------------
>
> Key: IMPALA-13417
> URL: https://issues.apache.org/jira/browse/IMPALA-13417
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend, Infrastructure
> Affects Versions: Impala 4.5.0
> Reporter: Joe McDonnell
> Assignee: Michael Smith
> Priority: Major
>
> When switching back and forth from reviewing a Calcite change that touched
> the parser, etc. I got build failures when I switched back to regular Impala
> master branch:
> {noformat}
> 13:34:29 [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile
> (default-compile) on project calcite-planner: Compilation failure:
> Compilation failure:
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[16,28]
> package org.immutables.value does not exist
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[23,2]
> cannot find symbol
> 13:34:29 [ERROR] symbol: class Generated
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[41,65]
> package ImpalaMinusToDistinctRule does not exist
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[38,4]
> cannot find symbol
> 13:34:29 [ERROR] symbol: class Generated
> 13:34:29 [ERROR] location: class
> org.apache.calcite.rel.rules.ImmutableImpalaMinusToDistinctRule
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[297,6]
> cannot find symbol
> 13:34:29 [ERROR] symbol: class Generated
> 13:34:29 [ERROR] location: class
> org.apache.calcite.rel.rules.ImmutableImpalaMinusToDistinctRule.Config
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[82,6]
> cannot find symbol
> 13:34:29 [ERROR] symbol: class Generated
> 13:34:29 [ERROR] location: class
> org.apache.calcite.rel.rules.ImmutableImpalaMinusToDistinctRule.Config
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[266,93]
> package ImpalaMinusToDistinctRule does not exist
> 13:34:29 [ERROR]
> /home/joemcdonnell/upstream/Impala/java/calcite-planner/target/generated-sources/annotations/org/apache/calcite/rel/rules/ImmutableImpalaMinusToDistinctRule.java:[325,58]
> package ImpalaMinusToDistinctRule does not exist{noformat}
> It seems like the generated code is not getting updated when I switched to a
> different branch, so it is referencing classes that don't exist. Maybe
> bin/clean.sh needs to be modified to remove those files so a clean build can
> get the new ones.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]