-
Notifications
You must be signed in to change notification settings - Fork 277
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 3.8.3
formatting Scala code error (The maxColumn exceeds the limit)
#4187
Comments
When I was preparing to upgrade
|
could you please edit your submission to make it more readable? not sure why you decided to retain all of the issue submission template, including text intended to describe what we're asking of you, and not the other way around. |
the original template, the one you kept in its entirety but didn't really follow, explains that you can't submit issues here unless you run the cli tool from this repository. if you use a maven plugin, feel free to report it to that plugin's maintainers instead. |
Let me update it. |
Sorry, this is my first time submitting an issue to this repo, but it is indeed a issue. |
Configuration (required)
Command-line parameters (required)
When I run scalafmt via CLI like this:
scalafmt -c dev/.scalafmt.conf sql/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SessionHolder.scala
See the file here: https://github.com/apache/spark/blob/e1b5d65aeeccd2d724b753fc6f2132086825bef9/sql/connect/server/src/main/scala/org/apache/spark/sql/connect/service/SessionHolder.scala
Steps
Given code like this:
Problem
Scalafmt formats code like this:
Note: Obviously, the number of columns after formatting greatly exceeds the limit
Expectation
I would like the formatted output to look like this:
Workaround
Notes
the version
3.8.2
is normal, but the version3.8.3
is abnormal.The text was updated successfully, but these errors were encountered: