You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Pengcheng Xiong <px...@apache.org> on 2015/11/04 08:38:16 UTC

A question about org.apache.calcite.sql.parser.impl

Hi all,

    I created a patch and I tried "mvn clean install package" under the
core folder. Then I have got the following errors

"
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
(default-compile) on project calcite-core: Compilation failure: Compilation
failure:
[ERROR]
/Users/pxiong/Projects/calcite/incubator-calcite/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[24,42]
cannot find symbol
[ERROR] symbol:   class SqlParserImpl
[ERROR] location: package org.apache.calcite.sql.parser.impl
[ERROR]
/Users/pxiong/Projects/calcite/incubator-calcite/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[202,50]
cannot find symbol
[ERROR] symbol:   variable SqlParserImpl
[ERROR] location: class
org.apache.calcite.sql.parser.SqlParser.ConfigBuilder
[ERROR] -> [Help 1]
[ERROR]
"

   I looked into the "org.apache.calcite.sql.parser.impl" and I only found
a "package-info.java" there. There is no "SqlParserImpl
" and I guess that is the reason why my mvn command fails.

    Could anybody direct me how to generate this "
org.apache.calcite.sql.parser.impl.SqlParserImpl"? Thanks!

Best
Pengcheng

Re: A question about org.apache.calcite.sql.parser.impl

Posted by Julian Hyde <jh...@apache.org>.
This is a known issue that we do not intend to fix. See https://issues.apache.org/jira/browse/CALCITE-553. Just use ‘mvn clean && mvn install’.

Julian

> On Nov 4, 2015, at 7:07 AM, Josh Elser <jo...@gmail.com> wrote:
> 
> Try just separating out the `clean` and `install` invocations. I've noticed this locally (but haven't dug into why it happens.
> 
> e.g. `mvn clean && mvn install`
> 
> Pengcheng Xiong wrote:
>> Hi all,
>> 
>>     I created a patch and I tried "mvn clean install package" under the
>> core folder. Then I have got the following errors
>> 
>> "
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
>> (default-compile) on project calcite-core: Compilation failure: Compilation
>> failure:
>> [ERROR]
>> /Users/pxiong/Projects/calcite/incubator-calcite/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[24,42]
>> cannot find symbol
>> [ERROR] symbol:   class SqlParserImpl
>> [ERROR] location: package org.apache.calcite.sql.parser.impl
>> [ERROR]
>> /Users/pxiong/Projects/calcite/incubator-calcite/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[202,50]
>> cannot find symbol
>> [ERROR] symbol:   variable SqlParserImpl
>> [ERROR] location: class
>> org.apache.calcite.sql.parser.SqlParser.ConfigBuilder
>> [ERROR] ->  [Help 1]
>> [ERROR]
>> "
>> 
>>    I looked into the "org.apache.calcite.sql.parser.impl" and I only found
>> a "package-info.java" there. There is no "SqlParserImpl
>> " and I guess that is the reason why my mvn command fails.
>> 
>>     Could anybody direct me how to generate this "
>> org.apache.calcite.sql.parser.impl.SqlParserImpl"? Thanks!
>> 
>> Best
>> Pengcheng
>> 


Re: A question about org.apache.calcite.sql.parser.impl

Posted by Josh Elser <jo...@gmail.com>.
Try just separating out the `clean` and `install` invocations. I've 
noticed this locally (but haven't dug into why it happens.

e.g. `mvn clean && mvn install`

Pengcheng Xiong wrote:
> Hi all,
>
>      I created a patch and I tried "mvn clean install package" under the
> core folder. Then I have got the following errors
>
> "
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
> (default-compile) on project calcite-core: Compilation failure: Compilation
> failure:
> [ERROR]
> /Users/pxiong/Projects/calcite/incubator-calcite/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[24,42]
> cannot find symbol
> [ERROR] symbol:   class SqlParserImpl
> [ERROR] location: package org.apache.calcite.sql.parser.impl
> [ERROR]
> /Users/pxiong/Projects/calcite/incubator-calcite/core/src/main/java/org/apache/calcite/sql/parser/SqlParser.java:[202,50]
> cannot find symbol
> [ERROR] symbol:   variable SqlParserImpl
> [ERROR] location: class
> org.apache.calcite.sql.parser.SqlParser.ConfigBuilder
> [ERROR] ->  [Help 1]
> [ERROR]
> "
>
>     I looked into the "org.apache.calcite.sql.parser.impl" and I only found
> a "package-info.java" there. There is no "SqlParserImpl
> " and I guess that is the reason why my mvn command fails.
>
>      Could anybody direct me how to generate this "
> org.apache.calcite.sql.parser.impl.SqlParserImpl"? Thanks!
>
> Best
> Pengcheng
>