Skip to content

[SPARK-49443][SQL][FOLLOWUP] Fix formatting of a comment for to_variant_object()#48060

Closed
MaxGekk wants to merge 2 commits into
apache:masterfrom
MaxGekk:fix-formating
Closed

[SPARK-49443][SQL][FOLLOWUP] Fix formatting of a comment for to_variant_object()#48060
MaxGekk wants to merge 2 commits into
apache:masterfrom
MaxGekk:fix-formating

Conversation

@MaxGekk

@MaxGekk MaxGekk commented Sep 10, 2024

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Fix formatting of comments for the function to_variant_object().

Why are the changes needed?

To fix the failure:

Error:  Failed to execute goal org.antipathy:mvn-scalafmt_2.13:1.1.1713302731.c3d0074:format (default-cli) on project spark-sql-api_2.13: Error formatting Scala files: Scalafmt: Unformatted files found -> [Help 1]

Does this PR introduce any user-facing change?

No.

How was this patch tested?

By running the formatting:

$ ./build/mvn scalafmt:format -Dscalafmt.skip=false -Dscalafmt.validateOnly=false -Dscalafmt.changedOnly=false -pl sql/api -pl sql/connect/common -pl sql/connect/server -pl connector/connect/client/jvm

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions Bot added the SQL label Sep 10, 2024
@MaxGekk MaxGekk requested a review from cloud-fan September 10, 2024 15:27
@MaxGekk MaxGekk changed the title SPARK-49443][SQL][FOLLOWUP] Fix formatting of a comment for to_variant_object() [SPARK-49443][SQL][FOLLOWUP] Fix formatting of a comment for to_variant_object() Sep 10, 2024

@dongjoon-hyun dongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @MaxGekk .

As you see in this PR builder failure (https://github.com/MaxGekk/spark/actions/runs/10795608001/job/29942721994), the master branch is broken before this style issue. Could you fix the compilation first?

@MaxGekk

MaxGekk commented Sep 10, 2024

Copy link
Copy Markdown
Member Author

@dongjoon-hyun I am working on a fix now.

@dongjoon-hyun

Copy link
Copy Markdown
Member

Thank you so much, @MaxGekk !

@dongjoon-hyun dongjoon-hyun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Thank you, @MaxGekk .

@MaxGekk

MaxGekk commented Sep 10, 2024

Copy link
Copy Markdown
Member Author

The GA Run / Linters, licenses, and dependencies passed.

Merging to master. Thank you, @dongjoon-hyun and @cloud-fan for review.

@MaxGekk MaxGekk closed this in 8f66272 Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants