Skip to content
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

Feat(spark): add support for raw strings #2165

Merged
merged 1 commit into from
Sep 6, 2023
Merged

Conversation

georgesittas
Copy link
Collaborator

Fixes #2162

@@ -35,6 +35,13 @@ def _parse_datediff(args: t.List) -> exp.Expression:


class Spark(Spark2):
class Tokenizer(Spark2.Tokenizer):
Copy link
Collaborator Author

@georgesittas georgesittas Sep 6, 2023

Choose a reason for hiding this comment

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

Tested Spark v2.4.8 and it doesn't support raw strings.

@tobymao tobymao merged commit 5dd0fda into main Sep 6, 2023
@tobymao tobymao deleted the jo/raw_strings_spark branch September 6, 2023 17:47
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.

Spark raw String Support, comonly used with regexes
2 participants