You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Michael Smith (Jira)" <ji...@apache.org> on 2025/09/03 22:36:00 UTC
[jira] [Work started] (IMPALA-13417) Calcite parser generated files are not getting cleaned properly
[ https://issues.apache.org/jira/browse/IMPALA-13417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on IMPALA-13417 started by 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org