caicancai commented on code in PR #3313:
URL:
https://github.com/apache/incubator-streampark/pull/3313#discussion_r1382495292
##########
streampark-flink/streampark-flink-client/streampark-flink-client-api/src/main/scala/org/apache/streampark/flink/client/bean/SubmitRequest.scala:
##########
@@ -68,9 +70,15 @@ case class SubmitRequest(
lazy val effectiveAppName: String =
if (this.appName == null) appProperties(KEY_FLINK_APP_NAME) else
this.appName
+ lazy val classPaths: List[URL] = {
+ val path = s"${Workspace.local.APP_WORKSPACE}/$id/lib"
+ val lib = Try(new
File(path).listFiles().map(_.toURI.toURL).toList).getOrElse(List.empty[URL])
+ flinkVersion.flinkLibs ++ lib
+ }
+
lazy val flinkSQL: String = extraParameter.get(KEY_FLINK_SQL()).toString
- lazy val allowNonRestoredState = Try(
+ lazy val allowNonRestoredState: Boolean = Try(
Review Comment:
scala has default type inference, and I'm not sure if it needs to be
declared as a Boolean type
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]