hackergin commented on code in PR #25730: URL: https://github.com/apache/flink/pull/25730#discussion_r1901743073
########## flink-table/flink-sql-gateway/src/main/java/org/apache/flink/table/gateway/service/SqlGatewayServiceImpl.java: ########## @@ -340,25 +340,25 @@ public OperationHandle refreshMaterializedTable( @Override public <ClusterID> ClusterID deployScript( SessionHandle sessionHandle, - @Nullable Path scriptPath, + @Nullable URI scriptUri, @Nullable String script, Configuration executionConfig) throws SqlGatewayException { Session session = sessionManager.getSession(sessionHandle); - if (scriptPath == null && script == null) { - throw new IllegalArgumentException("Please specify script path or script."); + if (scriptUri == null && script == null) { + throw new IllegalArgumentException("Please specify script path or uri."); Review Comment: nit: Please specify either the script uri or the script content. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org