dataroaring commented on PR #51619:
URL: https://github.com/apache/doris/pull/51619#issuecomment-2961591466

   This pull request introduces several key updates, including adding a new 
meta version, enhancing serialization and deserialization of the 
`FunctionCallExpr` class, and expanding a regression test for alias functions. 
Below are the most important changes grouped by theme:
   
   ### Meta Version Update:
   * Added `VERSION_141` to `FeMetaVersion` and updated `VERSION_CURRENT` to 
reflect the new version. 
(`fe/fe-common/src/main/java/org/apache/doris/common/FeMetaVersion.java`)
   
   ### Serialization Enhancements:
   * Implemented a custom serializer and deserializer 
(`FunctionCallExprSerializer`) for the `FunctionCallExpr` class, enabling 
Gson-based serialization and deserialization. 
(`fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java`)
   * Registered the `FunctionCallExprSerializer` in `GsonUtils` to handle 
`FunctionCallExpr` objects during serialization. 
(`fe/fe-core/src/main/java/org/apache/doris/persist/gson/GsonUtils.java`)
   
   ### Codebase Improvements:
   * Updated the `FunctionCallExpr` class to implement the 
`GsonPostProcessable` interface, adding a `gsonPostProcess` method for 
post-deserialization logic. 
(`fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java`) 
[[1]](diffhunk://#diff-1b13fe18507780e1e19df79df1322a0308794b9794790eb9af996ab95a9bccacL78-R86)
 
[[2]](diffhunk://#diff-1b13fe18507780e1e19df79df1322a0308794b9794790eb9af996ab95a9bccacR267)
   
   ### Regression Test Expansion:
   * Extended the `test_alias_function` regression test to include a more 
complex alias function definition using nested `IF` statements for different 
ranges of `level_score`. 
(`regression-test/suites/ddl_p0/test_alias_function.groovy`)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to