Skip to content

Commit

Permalink
rebuild pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-gmahadevan committed Aug 20, 2024
1 parent bc5a130 commit f69fece
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/java/com/snowflake/snowpark_java/Functions.java
Original file line number Diff line number Diff line change
Expand Up @@ -4327,6 +4327,7 @@ public static Column locate(Column substr, Column str, int pos) {

/**
* Locate the position of the first occurrence of substr in a string column, after position pos.
* default to 1.
*
* <pre>{@code
* DataFrame df = getSession().sql("select * from values ('abcd') as T(s)");
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/com/snowflake/snowpark/functions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3670,7 +3670,7 @@ object functions {
* @since 1.14.0
* @param substr string to search
* @param str value where string will be searched
* @param pos index for starting the search
* @param pos index for starting the search. default to 1.
* @return Returns the position of the first occurrence
*/
def locate(substr: String, str: Column, pos: Int = 1): Column =
Expand Down

0 comments on commit f69fece

Please sign in to comment.