diff --git a/src/test/scala/com/snowflake/snowpark/UDFInternalSuite.scala b/src/test/scala/com/snowflake/snowpark/UDFInternalSuite.scala index 24137bb3..9a1eae3a 100644 --- a/src/test/scala/com/snowflake/snowpark/UDFInternalSuite.scala +++ b/src/test/scala/com/snowflake/snowpark/UDFInternalSuite.scala @@ -29,16 +29,10 @@ class UDFInternalSuite extends TestData { super.afterAll } - // todo: re-enable in SNOW-1227362 - // The new Geometry data type introduced in the release 1.12.0. - // The package suites use the latest Snowpark package on the server side, - // which doesn't have Geometry type, then, all package suites will fail - // before the server side release. So we have to temporarily disable those test suite - // until Snowpark 1.12.0 release. - ignore("Test temp udf not failing back to upload jar", JavaStoredProcExclude) { + test("Test temp udf not failing back to upload jar", JavaStoredProcExclude) { val newSession = Session.builder.configFile(defaultProfile).create val mockSession = spy(newSession) - TestUtils.addDepsToClassPath(mockSession, None) + TestUtils.addDepsToClassPath(mockSession, None, usePackages = true) val path = UDFClassPath.getPathForClass(classOf[com.snowflake.snowpark.Session]).get val doubleUDF = mockSession.udf.registerTemporary((x: Int) => x + x) @@ -185,13 +179,6 @@ class UDFInternalSuite extends TestData { } } -// todo: re-enable in SNOW-1227362 -// The new Geometry data type introduced in the release 1.12.0. -// The package suites use the latest Snowpark package on the server side, -// which doesn't have Geometry type, then, all package suites will fail -// before the server side release. So we have to temporarily disable those test suite -// until Snowpark 1.12.0 release. -/* @UDFPackageTest class PackageUDFSuite extends UDFSuite { override def beforeAll: Unit = { @@ -227,4 +214,3 @@ class PackageUDTFSuite extends UDTFSuite { super.afterAll() } } - */