Skip to content

Commit

Permalink
Support Java 17 when registering SP
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-bli committed Feb 8, 2024
1 parent 0bcb464 commit 5742643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/precommit-udf-multiple-jdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
env:
PROFILE_PASSWORD: ${{ secrets.PROFILE_PASSWORD }}
- name: Run test
run: mvn -Dgpg.skip test -Dsuites="com.snowflake.snowpark_test.UDTFSuite,com.snowflake.snowpark_test.AlwaysCleanUDFSuite"
run: mvn -Dgpg.skip test -Dsuites="com.snowflake.snowpark_test.UDTFSuite,com.snowflake.snowpark_test.AlwaysCleanUDFSuite,com.snowflake.snowpark_test.StoredProcedureSuite"
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ class UDXRegistrationHandler(session: Session) extends Logging {
|CREATE $tempType PROCEDURE $spName($sqlFunctionArgs)
|RETURNS $returnSqlType
|LANGUAGE JAVA
|RUNTIME_VERSION = '11'
|$getRuntimeVersion
|$packageSql
|$importSql
|target_path='$targetJarStageLocation'
Expand Down

0 comments on commit 5742643

Please sign in to comment.