calcite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Hyde <jh...@apache.org>
Subject Re: Setting up Calcite development with IDEA
Date Thu, 08 Feb 2018 01:27:54 GMT
Ah yes. You need to build ExtensionSqlParserImpl first using maven.
>From the command line:

$ mvn -DskipTests clean install

I periodically get that error (e.g. after a "git pull") and repeat
that command. Most of the time Intellij is able to build
incrementally.

On Wed, Feb 7, 2018 at 4:14 PM, Edmon Begoli <ebegoli@gmail.com> wrote:
> I followed all the steps, and everything was good, but upon running
> testWinAgg I got:
>
> Information:java: Errors occurred while compiling module 'calcite-core'
> Information:javac 1.8.0_161 was used to compile java sources
> Information:2/7/18, 7:14 PM - Compilation completed with 1 error and 0
> warnings in 15s 794ms
>
> <my
> path>/src/calcite/core/src/test/java/org/apache/calcite/sql/parser/parserextensiontesting/ExtensionSqlParserTest.java
>
> Error:(36, 12) java: cannot find symbol
>   symbol:   variable ExtensionSqlParserImpl
>   location: class
> org.apache.calcite.sql.parser.parserextensiontesting.ExtensionSqlParserTest
>
>
>
> On Wed, Feb 7, 2018 at 12:52 AM, Julian Hyde <jhyde@apache.org> wrote:
>
>> Then navigate to the method JdbcTest.testWinAgg by typing
>> control-alt-shift-n (Navigate > Symbol) followed by testWinAgg. And
>> run it in the debugger by typing control-shift-f10 (right-click Run).
>>
>> You can run any test method or class in Calcite this way.
>>
>> Navigate to CalciteSuite to run every test in core.
>>
>>
>> On Tue, Feb 6, 2018 at 7:36 PM, Gian Merlino <gian@imply.io> wrote:
>> > Welcome to Calcite!!
>> >
>> > To start go to File > Open... and open up Calcite's "pom.xml" file. When
>> > IntelliJ asks if you want to open it as a project or a file, say you
>> want a
>> > project. Also say yes when it asks if you want a new window. Then,
>> > IntelliJ's Maven project importer should handle the rest.
>> >
>> > I also made this (partially complete) IntelliJ code style config that you
>> > can import: https://gist.github.com/gianm/27a4e3cad99d7b9b6513b6885d3cfc
>> c9.
>> > It doesn't do everything needed to make Calcite's style checker happy,
>> but
>> > it does a decent amount of it. To import, go to Preferences > Editor >
>> Code
>> > Style, click the gear next to "scheme", then Import Scheme > IntelliJ
>> IDEA
>> > Code Style XML.
>> >
>> > Gian
>> >
>> > On Tue, Feb 6, 2018 at 6:08 PM, Edmon Begoli <ebegoli@gmail.com> wrote:
>> >
>> >> What is your exact setup workflow with IDEA to get development up and
>> >> running?
>> >>
>> >> So far, I used command line and Sublime Text.
>> >>
>> >> Would like to try IDEA for Calcite development.
>> >>
>> >> Checked out calcite to my src directory.
>> >>
>> >> Now I am in IDEA.
>> >>
>> >> What next?
>> >>
>>

Mime
View raw message