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

Add support for KnownNullable and EphemeralSubstring expressions #894

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

amahussein
Copy link
Collaborator

Signed-off-by: Ahmed Hussein (amahussein) a@ahussein.me

Contributes to #865

Adds support to two new string expressions

  • EphermalSubstring is supported by DB, but we add it to the score sheet of all other platforms since we have a single expression.csv file anyway.
  • No need for a new unit test for EphermalSubstring because it is the same as substring.
  • Added a new test for KnownNullable
  • Removed configuration override related to Empty2Null because the sql function is the lower string of the expr-name which should be supported by default.
  • Removed the entries of the expressions in override_supported_configs.json

Signed-off-by: Ahmed Hussein (amahussein) <a@ahussein.me>

Contributes to NVIDIA#865

Adds support to two new string expressions
- `EphermalSubstring` is supported by DB, but we add it to the score
  sheet of all other platforms since we have a single expression.csv
file anyway.
- No need for a new unit test for `EphermalSubstring` because it is the
  same as substring.
- Added a new test for `KnownNullable`
- Removed configuration override related to `Empty2Null` because the sql
  function is the lower string of the expr-name which should be
supported by default.
- Removed the entries of the expressions in `override_supported_configs.json`
@amahussein amahussein added bug Something isn't working core_tools Scope the core module (scala) labels Apr 2, 2024
@amahussein amahussein self-assigned this Apr 2, 2024
@amahussein amahussein changed the title Add support for KnownNullable and EphemeralSubstring Add support for KnownNullable and EphemeralSubstring expressions Apr 2, 2024
@amahussein amahussein requested a review from nartal1 April 2, 2024 13:20
Copy link
Collaborator

@parthosa parthosa left a comment

Choose a reason for hiding this comment

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

Thanks @amahussein. LGTM

Copy link
Collaborator

@nartal1 nartal1 left a comment

Choose a reason for hiding this comment

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

Thanks @amahussein !

@amahussein amahussein merged commit cea1bb9 into NVIDIA:dev Apr 2, 2024
16 checks passed
@amahussein amahussein deleted the spark-rapids-tools-865-stringOps branch April 2, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core_tools Scope the core module (scala)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants