-
Notifications
You must be signed in to change notification settings - Fork 20
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
SNOW-802269 Add regextract signum subindex collectlist functions #142
SNOW-802269 Add regextract signum subindex collectlist functions #142
Conversation
* Added regexp_extract,signum,substring_index,collect_list 1) Added regexp_extract,signum,substring_index,collect_list to functions.scala . 2) Added test cases for the same * Added examples and updated the description * Fixed format * formatted the comments * Added java functions and unit test cases for java * Added sign function * Modified the alignment * Added examples * adjusted comments * Update Functions.java --------- Co-authored-by: sfc-gh-mrojas <[email protected]>
Can you give it meaningful title? for example BTW, please reformat your code by |
|
* --------- | ||
* }</pr> | ||
* | ||
* @since 1.12.1 |
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.
@since 1.14.0
* ---------------------------------- | ||
* }</pr> | ||
* | ||
* @since 1.12.1 |
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.
@since 1.14.0
* ---------------------------------- | ||
* }</pr> | ||
* | ||
* @since 1.12.1 |
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.
@since 1.14.0
* count is negative, every to the right of the final delimiter (counting from the right) is | ||
* returned. substring_index performs a case-sensitive match when searching for delim. | ||
* | ||
* @since 1.12.1 |
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.
@since 1.14.0
* "RESULT" [ 1, 2, 3 ] | ||
* }</pre> | ||
* | ||
* @since 1.10.0 |
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.
@since 1.14.0
* --------- | ||
*</pr> | ||
* Note: non-greedy tokens such as are not supported | ||
* @since 1.12.1 |
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.
@since 1.14.0
* |-1 |1 |0 | | ||
* ---------------------------------- | ||
* </pr> | ||
* @since 1.12.1 |
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.
@since 1.14.0
* |-1 |1 |0 | | ||
* ---------------------------------- | ||
* </pr> | ||
* @since 1.12.1 |
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.
@since 1.14.0
* NOTE: if string values are provided snowflake will attempts to cast. | ||
* If it casts correctly, returns the calculation, | ||
* if not an error will be thrown | ||
* @since 1.12.1 |
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.
@since 1.14.0
* is returned. If count is negative, every to the right of the | ||
* final delimiter (counting from the right) is returned. | ||
* substring_index performs a case-sensitive match when searching for delim. | ||
* @since 1.12.1 |
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.
@since 1.14.0
* |] | | ||
* ------------ | ||
* </pr> | ||
* @since 1.10.0 |
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.
@since 1.14.0
* | 3 | | ||
* |] | | ||
* ------------ | ||
* @since 1.10.0 |
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.
@since 1.14.0
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.
1, please update all @since
to 1.14.0
, which is the next release.
2, Please check the merging gate, you have several tests failed.
3, Please verify your Java doc, that merging gate failed too. you can build java doc from your laptop via scripts/generateJavaDoc.sh
.
…tract-signum-subindex-collectlist
…m-subindex-collectlist' of https://github.com/snowflakedb/snowpark-java-scala into sfc-gh-sjayabalansfc-gh-sjayabalan-sma-regextract-signum-subindex-collectlist
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.
LGTM
Added examples and updated the description
Fixed format
formatted the comments
Added java functions and unit test cases for java
Added sign function
Modified the alignment
Added examples
adjusted comments
Update Functions.java
Please answer these questions before submitting your pull requests. Thanks!
What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes #NNNN
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
Replace this with a short description of how your code change solves the related issue.
Pre-review checklist
(For Snowflake employees)