Skip to content

Conversation

@aleksandr-chernousov-db
Copy link

What changes were proposed in this pull request?

I replace incorrect usages of "ctx.getText()" with "getIdentifierText(ctx)"

Why are the changes needed?

It blocks from using IDENTIFIER() in the remaining expected places

Does this PR introduce any user-facing change?

How was this patch tested?

Added new tests in identifier-clause.sql

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

Claude Sonnet 4.5

@github-actions github-actions bot added the SQL label Dec 9, 2025
@aleksandr-chernousov-db aleksandr-chernousov-db changed the title [SPARK-54652] Complete conversion of IDENTIFIER() [WIP][SPARK-54652] Complete conversion of IDENTIFIER() Dec 9, 2025
}
case (rfDelimited: RowFormatDelimitedContext, ffGeneric: GenericFileFormatContext) =>
ffGeneric.identifier.getText.toLowerCase(Locale.ROOT) match {
getIdentifierText(ffGeneric.identifier).toLowerCase(Locale.ROOT) match {

Choose a reason for hiding this comment

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

I suppose here is also a keyword, not an identifier?

Copy link
Contributor

Choose a reason for hiding this comment

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

Correct the keyword appears to be TEXTFILE

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.

2 participants