[jira] [Created] (CALCITE-4155) Simplify in expression of discreet values

2020-08-04 Thread Liya Fan (Jira)
Liya Fan created CALCITE-4155: - Summary: Simplify in expression of discreet values Key: CALCITE-4155 URL: https://issues.apache.org/jira/browse/CALCITE-4155 Project: Calcite Issue Type: New Featu

Re: Re: Implementation of DISTINCT and ORDER BY

2020-08-04 Thread Rui Wang
I think the RelNode you build by RelBuilder is equivalent to SELECT DISTINCT FROM ORDER BY, except that the generated ORDER BY condition is different. -Rui On Tue, Aug 4, 2020 at 3:40 PM Hrudaya Reddy wrote: > Thanks a lot for your input Rui. > > This is how I am implementing it. > > Re

RE: Re: Implementation of DISTINCT and ORDER BY

2020-08-04 Thread Hrudaya Reddy
Thanks a lot for your input Rui. This is how I am implementing it. RelNode relNode = builder .scan("users") .project(builder.field("name_first"), builder.field("name_last")) .distinct()

Re: [DISCUSSION] Rename master branch to main

2020-08-04 Thread Viliam Durina
I was surprised that my opposition was evaluated as "not strong". None of my arguments were countered. I vote -1 too. - This change will not bring any new contributors - No contributor will "feel more welcome" by "merging into main" instead of "merging into master". Nobody even thinks about it. Fo

[jira] [Created] (CALCITE-4154) Add a rule to merge a Project onto an Aggregate

2020-08-04 Thread Julian Hyde (Jira)
Julian Hyde created CALCITE-4154: Summary: Add a rule to merge a Project onto an Aggregate Key: CALCITE-4154 URL: https://issues.apache.org/jira/browse/CALCITE-4154 Project: Calcite Issue Typ

Re: Avatica and HepPlanner

2020-08-04 Thread Michael Mior
I believe you're correct that it's not possible to select which planner to use via JDBC. However, keep in mind that the HepPlanner and VolcanoPlanner have different goals. VolcanoPlanner takes longer because it is trying to minimize the expected cost of execution. HepPlanner simply applies the give

Re: [DISCUSSION] Rename master branch to main

2020-08-04 Thread Ruben Q L
Small question: since it seems it will not be possible to reach an unanimous consensus on this topic, would it be possible to open a vote in order to let the community express if they are "for" or "against" renaming master, and decide according to the results? Le mar. 4 août 2020 à 13:27, Albert

Re: [DISCUSSION] Rename master branch to main

2020-08-04 Thread Albert
I am against this change -1. (probably vain anyways) @Michael Mior yes there are people against it. nobody expressed any gain from this. nobody required this change. This change expressed a thinking in `incorrect` direction. (personal opinion) On Wed, Jul 29, 2020 at 10:31 PM Michael Mior wro