zclllyybb commented on code in PR #55914:
URL: https://github.com/apache/doris/pull/55914#discussion_r2343647356
##########
regression-test/suites/nereids_p0/expression/fold_constant/fold_constant_string_arithmatic.groovy:
##########
@@ -739,6 +739,75 @@ suite("fold_constant_string_arithmatic") {
// testFoldConst("select
PARSE_URL('http://user:[email protected]:8080/path/to/file?query=string#fragment',
'PORT')")
testFoldConst("select
PARSE_URL('http://user:[email protected]:8080/path/to/file?query=string#fragment',
'QUERY')")
+ // position
+ testFoldConst("select position('北京' in '上海天津北京杭州')")
Review Comment:
这两个函数没有FE常量折叠,testFoldConst没啥意义,换成qt_sql输出一下结果吧。
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]