Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix functionid #20743

Merged

Conversation

daviszhen
Copy link
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #https://github.com/matrixorigin/MO-Cloud/issues/4627

What this PR does / why we need it:

原因:原先的function id用的是iota递增值。如果在中间新增了函数,会导致后面的id发生变化。
修改:
1, 针对default expr和update expr。在反序列化之后,用函数名重新 取函数id,并替换原有的函数id.
2,functionid 用const值。并且与线上保持一致。新增函数追加,并用不重复的值。

@sukki37 sukki37 merged commit 64e4751 into matrixorigin:2.0.1-hotfix Dec 12, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working kind/enhancement size/XL Denotes a PR that changes [1000, 1999] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants