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

Need a function name mapping to support more builtin function translations #502

Closed
LantaoJin opened this issue Aug 1, 2024 · 0 comments · Fixed by #504
Closed

Need a function name mapping to support more builtin function translations #502

LantaoJin opened this issue Aug 1, 2024 · 0 comments · Fixed by #504
Labels
backport 0.5 bug Something isn't working Lang:PPL Pipe Processing Language support

Comments

@LantaoJin
Copy link
Member

LantaoJin commented Aug 1, 2024

Some builtin functions could not be translated to Spark builtin functions correctly due to they have different function names (signatures). For example:

PPL function name Spark function name
ADD +
SUBTRACT -
MULTIPLY *
DIVIDE /
MODULUS %
ADDDATE DATE_ADD
CONVERT_TZ CONVERT_TIMEZONE
DAY_OF_MONTH DAYOFMONTH
UTC_TIMESTAMP TO_UTC_TIMESTAMP
IS_NULL ISNULL
IS_NOT_NULL ISNOTNULL
@LantaoJin LantaoJin added bug Something isn't working untriaged labels Aug 1, 2024
@dai-chen dai-chen removed the untriaged label Aug 2, 2024
@YANG-DB YANG-DB added Lang:PPL Pipe Processing Language support backport 0.5 labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 0.5 bug Something isn't working Lang:PPL Pipe Processing Language support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants