Skip to content

[SPARK-58566][SQL][TESTS] Add tests for QuotingUtils.quoteIdentifier and escapeSingleQuotedString - #57766

Open
uros-b wants to merge 1 commit into
apache:masterfrom
uros-b:test-quotingutils
Open

[SPARK-58566][SQL][TESTS] Add tests for QuotingUtils.quoteIdentifier and escapeSingleQuotedString#57766
uros-b wants to merge 1 commit into
apache:masterfrom
uros-b:test-quotingutils

Conversation

@uros-b

@uros-b uros-b commented Aug 4, 2026

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Adds unit tests for QuotingUtils.quoteIdentifier and escapeSingleQuotedString, which had no direct coverage.

Why are the changes needed?

These pure string helpers back-tick-escape identifiers and backslash-escape single quotes; the tests pin their contract (wrapping, doubling, escaping, empty input).

Does this PR introduce any user-facing change?

No.

How was this patch tested?

This PR is the test. build/sbt "catalyst/testOnly *QuotingUtilsSuite".

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

Generated-by: Claude Code (Opus 4.8)

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Waiting for CI

@uros-b uros-b changed the title [SPARK-58566][SQL] Add tests for QuotingUtils.quoteIdentifier and escapeSingleQuotedString [SPARK-58566][SQL][TESTS] Add tests for QuotingUtils.quoteIdentifier and escapeSingleQuotedString Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant