From f602a68d1df8c6c49568a07a48ff9911ac5a30a5 Mon Sep 17 00:00:00 2001 From: Bing Li Date: Thu, 21 Nov 2024 11:14:28 -0800 Subject: [PATCH] fix java api --- src/main/java/com/snowflake/snowpark_java/Session.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/snowflake/snowpark_java/Session.java b/src/main/java/com/snowflake/snowpark_java/Session.java index f523daae..74b3349c 100644 --- a/src/main/java/com/snowflake/snowpark_java/Session.java +++ b/src/main/java/com/snowflake/snowpark_java/Session.java @@ -65,7 +65,7 @@ public static SessionBuilder builder() { * @since 0.8.0 */ public DataFrame sql(String query) { - return new DataFrame(session.sql(query, JavaUtils.objectArrayToSeq(new Object[0]))); + return new DataFrame(session.sql(query)); } /**