Uroš Bojanić created SPARK-58618:
------------------------------------

             Summary: Fix duplicated path in lint-scala scalafmt failure message
                 Key: SPARK-58618
                 URL: https://issues.apache.org/jira/browse/SPARK-58618
             Project: Spark
          Issue Type: Improvement
          Components: Build
    Affects Versions: 4.3.0
            Reporter: Uroš Bojanić


The scalafmt failure message in dev/lint-scala reads "The scalafmt check failed 
on sql/connect or sql/connect at following occurrences", naming the same path 
twice.

The check covers sql/api plus four modules under sql/connect (common, server, 
shims, client/jvm), so the first path should be sql/api. The duplication was 
introduced by SPARK-49428, which renamed connector/connect to sql/connect and 
applied the rename to the message text as well, turning "sql/connect or 
connector/connect" into "sql/connect or sql/connect".

This corrects the message to "sql/api or sql/connect", matching the module list 
printed on the following line. Developer-facing message text only; no behavior 
change.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to