You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by Alessandro Solimando <al...@gmail.com> on 2018/01/05 22:57:15 UTC
presentation and setup issue with intellij
Hello everyone,
I recently got to know Calcite, and given that I have been working on query
processing optimization (XML, RDBMS and triple stores) during my PhD and
postdoc, I thought it could be a good way to keep some concepts fresh and
to broaden my knowledge of internals of different data stores.
Since a bit more than one year I am a SW engineer at company working in the
travel industry, I am mostly working with Apache Spark. My interest in
Calcite is, at the moment, purely personal, but my hope is to exploit it to
better drive our data processing flow, once I will get to know Calcite
better.
Setup-wise:
I have successfully cloned calcite and calcite-test-dataset, it was smooth
also the command-line compilation and test execution with maven.
However, I have troubles getting the project compiling with IntelliJ
2017.3.2 (community edition) under Ubuntu 16.04, Oracle JVM 64bit
1.8.0_151-b12.
The error I get is related to one of the classes generated by javacc:
Error:(36, 12) java: cannot find symbol
symbol: variable ExtensionSqlParserImpl
location: class
org.apache.calcite.sql.parser.parserextensiontesting.ExtensionSqlParserTest
Do you have any suggestion to get it work?
I do most of my dev with Intellij, but I can adopt any other IDE if the
setup is smoother.
Best regards,
Alessandro
Re: presentation and setup issue with intellij
Posted by Julian Hyde <jh...@gmail.com>.
I have the same problem from IntelliJ sometimes. ExtensionSqlParserImpl is generated as part of core/test. So the solution that works for me is
$ mvn -DskipTests clean test
Which, yes, looks a bit contradictory. But it means “generate the test code but don’t run it”.
Julian
> On Jan 5, 2018, at 15:36, Slim Bouguerra <sl...@gmail.com> wrote:
>
> I use a MacBook with this JDK
> /Library/Java/JavaVirtualMachines/jdk1.8.0_92
> and Intellij 2017.3.2 and i can build Calcite from master branch.
> Try to run `mvn clean install -DskipTests` might help.
>
> --
>
> B-Slim
> _______/\/\/\_______/\/\/\_______/\/\/\_______/\/\/\_______/\/\/\_______
>
>> On Jan 5, 2018, at 2:57 PM, Alessandro Solimando <al...@gmail.com> wrote:
>>
>> Hello everyone,
>> I recently got to know Calcite, and given that I have been working on query
>> processing optimization (XML, RDBMS and triple stores) during my PhD and
>> postdoc, I thought it could be a good way to keep some concepts fresh and
>> to broaden my knowledge of internals of different data stores.
>>
>> Since a bit more than one year I am a SW engineer at company working in the
>> travel industry, I am mostly working with Apache Spark. My interest in
>> Calcite is, at the moment, purely personal, but my hope is to exploit it to
>> better drive our data processing flow, once I will get to know Calcite
>> better.
>>
>> Setup-wise:
>> I have successfully cloned calcite and calcite-test-dataset, it was smooth
>> also the command-line compilation and test execution with maven.
>>
>> However, I have troubles getting the project compiling with IntelliJ
>> 2017.3.2 (community edition) under Ubuntu 16.04, Oracle JVM 64bit
>> 1.8.0_151-b12.
>>
>> The error I get is related to one of the classes generated by javacc:
>> Error:(36, 12) java: cannot find symbol
>> symbol: variable ExtensionSqlParserImpl
>> location: class
>> org.apache.calcite.sql.parser.parserextensiontesting.ExtensionSqlParserTest
>>
>> Do you have any suggestion to get it work?
>>
>> I do most of my dev with Intellij, but I can adopt any other IDE if the
>> setup is smoother.
>>
>> Best regards,
>> Alessandro
>
Re: presentation and setup issue with intellij
Posted by Slim Bouguerra <sl...@gmail.com>.
I use a MacBook with this JDK
/Library/Java/JavaVirtualMachines/jdk1.8.0_92
and Intellij 2017.3.2 and i can build Calcite from master branch.
Try to run `mvn clean install -DskipTests` might help.
--
B-Slim
_______/\/\/\_______/\/\/\_______/\/\/\_______/\/\/\_______/\/\/\_______
> On Jan 5, 2018, at 2:57 PM, Alessandro Solimando <al...@gmail.com> wrote:
>
> Hello everyone,
> I recently got to know Calcite, and given that I have been working on query
> processing optimization (XML, RDBMS and triple stores) during my PhD and
> postdoc, I thought it could be a good way to keep some concepts fresh and
> to broaden my knowledge of internals of different data stores.
>
> Since a bit more than one year I am a SW engineer at company working in the
> travel industry, I am mostly working with Apache Spark. My interest in
> Calcite is, at the moment, purely personal, but my hope is to exploit it to
> better drive our data processing flow, once I will get to know Calcite
> better.
>
> Setup-wise:
> I have successfully cloned calcite and calcite-test-dataset, it was smooth
> also the command-line compilation and test execution with maven.
>
> However, I have troubles getting the project compiling with IntelliJ
> 2017.3.2 (community edition) under Ubuntu 16.04, Oracle JVM 64bit
> 1.8.0_151-b12.
>
> The error I get is related to one of the classes generated by javacc:
> Error:(36, 12) java: cannot find symbol
> symbol: variable ExtensionSqlParserImpl
> location: class
> org.apache.calcite.sql.parser.parserextensiontesting.ExtensionSqlParserTest
>
> Do you have any suggestion to get it work?
>
> I do most of my dev with Intellij, but I can adopt any other IDE if the
> setup is smoother.
>
> Best regards,
> Alessandro