Skip to content

Conversation

@beliefer
Copy link
Contributor

What changes were proposed in this pull request?

This PR follows up #46938 and improve the unescapePathName.

Why are the changes needed?

Improve the unescapePathName by cut off slow path.

Does this PR introduce any user-facing change?

'No'.

How was this patch tested?

GA.

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

'No'.

@github-actions github-actions bot added the SQL label Jun 12, 2024
@beliefer beliefer force-pushed the SPARK-48584_followup branch from a5cd0ff to 3b7b4bf Compare June 12, 2024 13:06
@beliefer
Copy link
Contributor Author

ping @yaooqinn @LuciferYang

Copy link
Member

Choose a reason for hiding this comment

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

FYI, for scala 3, do-while is removed

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, what @yaooqinn said is correct:

Welcome to Scala 3.3.1 (17.0.11, Java OpenJDK 64-Bit Server VM).
Type in expressions for evaluation. Or try :help.
                                                                                                                                                                                                                                                     
scala> var x = 10
     | 
     | do {
     |   println("Value of x: " + x)
     |   x = x - 1
     | } while (x > 0)
-- Error: ----------------------------------------------------------------------
3 |do {
  |^^
  |end of statement expected but 'do' found

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for the remind. I will revert it.

@beliefer beliefer force-pushed the SPARK-48584_followup branch from 3b7b4bf to 70749c9 Compare June 13, 2024 03:43
@beliefer beliefer closed this in 78fd4e3 Jun 13, 2024
@beliefer
Copy link
Contributor Author

Merged to master. Thank you @yaooqinn @LuciferYang

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