[jira] [Created] (CALCITE-4075) Mock table 'EMPNULLABLES' should allow nulls in all non-pk columns

2020-06-19 Thread Stamatis Zampetakis (Jira)
Stamatis Zampetakis created CALCITE-4075: Summary: Mock table 'EMPNULLABLES' should allow nulls in all non-pk columns Key: CALCITE-4075 URL: https://issues.apache.org/jira/browse/CALCITE-4075

Re: Re: [DISCUSS] Refactor how planner rules are parameterized

2020-06-19 Thread Haisheng Yuan
Thank you for the detailed explanation, Julian. I will step aside, let you and other community members decide. Anyway, my comment is not blocking. Thanks, Haisheng On 2020/06/17 23:12:40, Julian Hyde wrote: > "I prefer the KISS principle" is a bit unfair. What I'm advocating is > also simple.

Re: Nested data handling in Caclite

2020-06-19 Thread Slim Bouguerra
Thanks for all the help guys, At this point wondering if I should just write a udf that does that or add the flag to Calcite, I might try the udf since I am not a huge fan of config flags. On Fri, Jun 19, 2020 at 11:41 AM Rui Wang wrote: > If it goes back to make struct flattening configurable

Re: Nested data handling in Caclite

2020-06-19 Thread Rui Wang
If it goes back to make struct flattening configurable (thus can be turned off), you could check this thread for some context: https://lists.apache.org/thread.html/6bc9fd2e4c8d09e71740b0544df0982acf0d64321b9d5dc68db6acf1%40%3Cdev.calcite.apache.org%3E -Rui On Fri, Jun 19, 2020 at 1:21 AM Danny

Re: [VOTE] Release apache-calcite-avatica-1.17.0 (release candidate 0)

2020-06-19 Thread Vladimir Sitnikov
Maven-based build resulted in non-compliant release artifacts. Now you complain that "files differ" yet you seem to completely ignore the licensing. Vladimir

Re: [VOTE] Release apache-calcite-avatica-1.17.0 (release candidate 0)

2020-06-19 Thread Julian Hyde
Build tools generating/modifying source code is an anti-pattern. The LICENSE file is source code, because it is included in the source distribution. It doesn’t matter whether our build tool is written in Gradle or MVS-360 assembly language. It is a tool and it needs to serve our interests.

Calcite-Master - Build # 1799 - Failure

2020-06-19 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Master (build #1799) Status: Failure Check console output at https://builds.apache.org/job/Calcite-Master/1799/ to view the results.

Re: Nullability support in structured types

2020-06-19 Thread Ruben Q L
In my opinion, your propositions look like an improvement, so please go ahead, open an issue and submit a patch. We can discuss the details in the Jira / PR (hopefully other people will be involved in the discussion too). Best regards, Ruben Le ven. 19 juin 2020 à 09:45, Dawid Wysakowicz a

Re: Nested data handling in Caclite

2020-06-19 Thread Danny Chan
I tried your patch and I think you are right, there is some missing feature for RelStructuredTypeFlattener, When the field you want to project is a struct but not at top level, an error throws. I tried to close the flattening and it works well, originally the  RelStructuredTypeFlattener was

Re: Nullability support in structured types

2020-06-19 Thread Dawid Wysakowicz
Thank you for the reply Ruben, I understand the Calcite stand on the nullability. We should be fine having the custom logic in our factory. Happy to hear you are willing to accept some of the changes. Your summary is pretty good. Nevetheless I thought I'd extend it a little bit and also