feat: add udf function locate#3940
feat: add udf function locate#3940howdb wants to merge 1 commit into4paradigm:mainfrom howdb:feat-locate
Conversation
SDK Test Report101 files - 1 101 suites - 1 2m 9s ⏱️ -22s For more details on these failures, see this check. Results for commit 2519798. ± Comparison against base commit 59d79f6. This pull request removes 48 and adds 9 tests. Note that renamed tests count towards both. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3940 +/- ##
============================================
+ Coverage 75.22% 78.42% +3.19%
============================================
Files 754 558 -196
Lines 135575 123827 -11748
Branches 2072 0 -2072
============================================
- Hits 101991 97110 -4881
+ Misses 33281 26717 -6564
+ Partials 303 0 -303 ☔ View full report in Codecov by Sentry. |
|
|
||
| @code{.sql} | ||
|
|
||
| select locate("wo", "hello world", 2); |
There was a problem hiding this comment.
Thx for contributing~
Could we give a more representative example? e.g. locate("o", "hello world", 5), it will be 5, locate("o", "hello world", 6), it will be 8. Or the examples in #820.
feature
What is the current behavior? (You can also link to an open issue here)
issue