Skip to content

Conversation

StarveZhou
Copy link

  1. Fix arg_min/arg_max collation issue by invoke
    PushCollation() for the second children expression.
  2. Add macro to convert min(a)/max(a) to arg_min(a, a)
    and arg_max(a, a) to use collation.

Copy link
Collaborator

@Mytherin Mytherin left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Two comments:

@github-actions github-actions bot marked this pull request as draft December 2, 2023 19:09
@StarveZhou StarveZhou marked this pull request as ready for review December 2, 2023 19:12
@github-actions github-actions bot marked this pull request as draft December 3, 2023 12:58
@StarveZhou StarveZhou marked this pull request as ready for review December 4, 2023 20:28
@StarveZhou StarveZhou marked this pull request as draft December 5, 2023 07:58
Update minmax/arg_min_max's Bind function:
1) Fix arg_min/arg_max collation issue by invoke
   PushCollation() for the second children expression.
2) Fix min/max collation issue by replace function
   with arg_min/arg_max and invoke PushCollation().
@StarveZhou StarveZhou marked this pull request as ready for review December 6, 2023 20:16
@Mytherin Mytherin merged commit 5d9cd93 into duckdb:main Dec 12, 2023
@Mytherin
Copy link
Collaborator

Thanks!

krlmlr added a commit to duckdb/duckdb-r that referenced this pull request Dec 14, 2023
Merge pull request duckdb/duckdb#9985 from hawkfish/summarize-overflow
Merge pull request duckdb/duckdb#9972 from yiyuanliu/lyy/fix-9949
Merge pull request duckdb/duckdb#9962 from Tishj/statement_error_expected_non_optional
Merge pull request duckdb/duckdb#9961 from Tishj/python_supply_config_to_connect
Merge pull request duckdb/duckdb#9947 from taniabogatsch/list-intersect
Merge pull request duckdb/duckdb#9568 from Jens-H/append-BigDecimal
Merge pull request duckdb/duckdb#9959 from Tishj/python_udf_arrow_side_effects
Merge pull request duckdb/duckdb#9855 from StarveZhou/issue_9795_arg
Merge pull request duckdb/duckdb#9944 from Tishj/pyproject_toml
Merge pull request duckdb/duckdb#9946 from lnkuiper/issue9718
Merge pull request duckdb/duckdb#9953 from mlafeldt/fix-httpfs-null-ptr
Merge pull request duckdb/duckdb#9897 from Tmonster/left_semi_anti_feature_rebased
Merge pull request duckdb/duckdb#9936 from hawkfish/empty-frames
Merge pull request duckdb/duckdb#9715 from Tishj/dependency_set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants