Skip to content

Comments

fix: handle repeated sort keys and sort as int#3947

Merged
aceforeverd merged 3 commits into4paradigm:feat-custom-udf-068from
oh2024:fix/json_array_sort_new
Jun 6, 2024
Merged

fix: handle repeated sort keys and sort as int#3947
aceforeverd merged 3 commits into4paradigm:feat-custom-udf-068from
oh2024:fix/json_array_sort_new

Conversation

@oh2024
Copy link
Collaborator

@oh2024 oh2024 commented Jun 5, 2024

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    bug fix

  • What is the current behavior? (You can also link to an open issue here)

  1. json_array_sort drops duplicate sort keys
  2. json_array_sort sorts by string instead of int
  • What is the new behavior (if this is a feature change)?
  1. json_array_sort does not drop duplicate sort keys
  2. json_array_sort sorts by int instead of string, and breaks ties using output column

@github-actions github-actions bot added the execute-engine hybridse sql engine label Jun 5, 2024
@aceforeverd aceforeverd merged commit a69ebb0 into 4paradigm:feat-custom-udf-068 Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

execute-engine hybridse sql engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants