Skip to content

branch-4.0: [feature](function) support json_hash function #56962 - #57254

Merged
yiguolei merged 1 commit into
branch-4.0from
auto-pick-56962-branch-4.0
Oct 23, 2025
Merged

branch-4.0: [feature](function) support json_hash function #56962#57254
yiguolei merged 1 commit into
branch-4.0from
auto-pick-56962-branch-4.0

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #56962

apache/doris-website#2974
```sql
mysql> select json_hash(cast('{"a":123, "b":456}' as json)) , json_hash(cast('{"b":456, "a":123}' as json));
+-----------------------------------------------+-----------------------------------------------+
| json_hash(cast('{"a":123, "b":456}' as json)) | json_hash(cast('{"b":456, "a":123}' as json)) |
+-----------------------------------------------+-----------------------------------------------+
| 82454694884268544 | 82454694884268544 |
+-----------------------------------------------+-----------------------------------------------+
```
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen

Copy link
Copy Markdown
Contributor

run buildall

@yiguolei
yiguolei merged commit 1d35aa5 into branch-4.0Oct 23, 2025
23 of 27 checks passed
@github-actions
github-actionsBot deleted the auto-pick-56962-branch-4.0 branch October 23, 2025 07:01
Sign up for freeto 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.

4 participants

@hello-stephen@yiguolei@dataroaring@Mryange