LuciferYang commented on code in PR #43575:
URL: https://github.com/apache/spark/pull/43575#discussion_r1375694433
##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/SparkConnectPlanner.scala:
##########
@@ -3183,9 +3184,9 @@ class SparkConnectPlanner(
case StreamingQueryManagerCommand.CommandCase.ACTIVE =>
val active_queries = session.streams.active
respBuilder.getActiveBuilder.addAllActiveQueries(
- active_queries
- .map(query => buildStreamingQueryInstance(query))
- .toIterable
+ immutable.ArraySeq
+ .unsafeWrapArray(active_queries
+ .map(query => buildStreamingQueryInstance(query)))
Review Comment:
The code in the connect module must use scalafmt... the result of this
scalafmt is mandatory, otherwise, the lint will fail the check :(
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]