Skip to content

Commit

Permalink
Updating getOrCreate for java
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jvenegasvega-1 committed Nov 27, 2023
1 parent 7dc2f15 commit 48ec897
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/com/snowflake/snowpark_java/SessionBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ public Session create() {
* @since 1.10.0
*/
public Session getOrCreate() {
// disable closure cleaner in Java session,
// it only works with Scala UDF.
this.builder.config("snowpark_enable_closure_cleaner", "never");
return new Session(this.builder.getOrCreate());
}
}

0 comments on commit 48ec897

Please sign in to comment.