From 458ac23a1a3863c72d94dc2f72b1dab19f7f9be3 Mon Sep 17 00:00:00 2001 From: Jose Venegas Vega Date: Thu, 23 Nov 2023 13:34:51 -0600 Subject: [PATCH] Updating getOrCreate for java --- src/main/java/com/snowflake/snowpark_java/SessionBuilder.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/com/snowflake/snowpark_java/SessionBuilder.java b/src/main/java/com/snowflake/snowpark_java/SessionBuilder.java index e9675a34..210a426e 100644 --- a/src/main/java/com/snowflake/snowpark_java/SessionBuilder.java +++ b/src/main/java/com/snowflake/snowpark_java/SessionBuilder.java @@ -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()); } }