-
Notifications
You must be signed in to change notification settings - Fork 322
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
feat: add udf function locate #3940
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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