Skip to content

[CALCITE-2366] Add support for ANY_VALUE aggregate function#735

Closed
gparai wants to merge 2 commits intoapache:masterfrom
gparai:CALCITE-2366-master
Closed

[CALCITE-2366] Add support for ANY_VALUE aggregate function#735
gparai wants to merge 2 commits intoapache:masterfrom
gparai:CALCITE-2366-master

Conversation

@gparai
Copy link

@gparai gparai commented Jun 16, 2018

Committers could you please review this PR? More details regarding the mailing list discussions are in the JIRA. Thanks!

@amansinha100
Copy link

These planning changes look good. I was wondering if you have looked into the run-time changes in the Calcite executor for this agg function (for example MinMaxImplementor) ? I am not familiar with that part of Calcite. Perhaps someone else can offer suggestions there.

@gparai
Copy link
Author

gparai commented Jun 20, 2018

@amansinha100 thanks for the review. I looked at the Calcite executor but did not completely understand it. It would be great if someone in the community could offer some insights (maybe some documentation or notes). Meanwhile, I will continue exploring it.

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can any_value be used in order by clauses?
Is this a mon deterministic function?

@gparai
Copy link
Author

gparai commented Jun 21, 2018

@eolivelli thanks for the comment. Yes. Yes it is non deterministic (depends on implementation). Do you see an issue with this?
@eolivelli I made a mistake earlier. Please see my updated reply.

@eolivelli
Copy link
Contributor

@gparai no real problem from my side, I was just asking,
I am not an expert of non deterministic functions, I don't know if this may be a problem.

@gparai gparai force-pushed the CALCITE-2366-master branch from 42ee5e5 to 355a152 Compare July 9, 2018 22:32
@gparai
Copy link
Author

gparai commented Jul 10, 2018

@julianhyde thank you so much for reviewing the PR. I have addressed your review comments. Please take a look.

@asfgit asfgit closed this in 6a2af65 Jul 13, 2018
snuyanzin pushed a commit to snuyanzin/calcite that referenced this pull request Jul 16, 2018
sergeyT2 pushed a commit to sergeyT2/calcite that referenced this pull request Aug 29, 2018
sergeyT2 pushed a commit to sergeyT2/calcite that referenced this pull request Aug 29, 2018
wangxlong pushed a commit to wangxlong/calcite that referenced this pull request Feb 13, 2020
jamesstarr pushed a commit to jamesstarr/calcite that referenced this pull request Aug 28, 2025
…arai)

Close apache#735

Change-Id: Ie6a5380a7ff4ee934f4d2598c492d28033d5378c
jamesstarr pushed a commit to jamesstarr/calcite that referenced this pull request Mar 16, 2026
…arai)

Close apache#735

Change-Id: Ie6a5380a7ff4ee934f4d2598c492d28033d5378c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants