Re: Why migrate from Maven to Gradle

2020-06-15 Thread Enrico Olivelli
Il Mar 16 Giu 2020, 05:31 Haisheng Yuan ha scritto: > Hi Zoltan, > > > For example I use NetBeans, and things just work with maven. > Hi If you use NetBeans 11.3+ you can open Calcite again. Better 12.0 Enrico Have you tried intellij? It works fine with Gradle. And it is free. > > > Gradle wi

Re: Nested data handling in Caclite

2020-06-15 Thread Slim Bouguerra
Hi Danny, Thanks for the suggestion, but that did not solve the problem, still getting the same exception, Not sure If I am missing something ? Do you have an example of this usage ? Again the goal here is to select a Row for a Row as an example this is the column type sketch outerRow(address_kind

Re: Why migrate from Maven to Gradle

2020-06-15 Thread Haisheng Yuan
Hi Zoltan, > For example I use NetBeans, and things just work with maven. Have you tried intellij? It works fine with Gradle. And it is free. > Gradle will add friction to contributors familiar with maven and unfamiliar > with gradle... Your case is far better than mine, at least you have know

Re: Nested data handling in Caclite

2020-06-15 Thread Danny Chan
Hi, when you create a structure type, you should choose StructKind.PEEK_FIELDS instead, which let you to access the nested fields with DOT, i.e. “a.b.c”. Best, Danny Chan 在 2020年6月16日 +0800 AM4:21,Slim Bouguerra ,写道: > I am using this thread since the question seems related. > As of now I can not

Re: Why migrate from Maven to Gradle

2020-06-15 Thread Zoltan Farkas
Vladimir, A new user will probably be impacted more by the IDE experience. Some IDEs do better at handling maven than gradle... For example I use NetBeans, and things just work with maven. In my experience, Maven is simply a more mature tool (use it since 2002), more plugins, good IDE support

Re: Nested data handling in Caclite

2020-06-15 Thread Rui Wang
>Also I am thinking about turning off the flatten stage but not sure this is >going to happen (seems like a pandora box kind of flag where you do not >know what to expect) It is not happening to make flattener optional by setting a flag (see [1]). If there is anything that is not properly flatten

Re: Nested data handling in Caclite

2020-06-15 Thread Slim Bouguerra
I am using this thread since the question seems related. As of now I can not say a way to project a nested record (FYI scalar works). https://jira.apache.org/jira/browse/CALCITE-4065 @Igor any idea if this can be done without major work on the SqlRelToRelConverter ? Also I am thinking about turning

Re: Why migrate from Maven to Gradle

2020-06-15 Thread Vladimir Sitnikov
>Gradle is not that user friendly for new uses Can you please elaborate? Gradle's command line is easier to follow as it provides help with the usable tasks and descriptions, and it requires much less ceremony. For instance, with Maven I often had issues like "ExtenderSqlParserImpl not found" (==

[jira] [Created] (CALCITE-4065) Projecting a nested Row fails with org.apache.calcite.util.Util.needToImplement

2020-06-15 Thread Slim Bouguerra (Jira)
Slim Bouguerra created CALCITE-4065: --- Summary: Projecting a nested Row fails with org.apache.calcite.util.Util.needToImplement Key: CALCITE-4065 URL: https://issues.apache.org/jira/browse/CALCITE-4065