-
Notifications
You must be signed in to change notification settings - Fork 139
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
[FEATURE]Add fillnull
command to PPL
#3032
Labels
Comments
YANG-DB
added
enhancement
New feature or request
untriaged
PPL
Piped processing language
labels
Sep 16, 2024
I can start development of this. |
normanj-bitquill
added a commit
to Bit-Quill/opensearch-project-sql
that referenced
this issue
Oct 16, 2024
* Add FILLNULL command in PPL
normanj-bitquill
added a commit
to Bit-Quill/opensearch-project-sql
that referenced
this issue
Oct 16, 2024
* Add FILLNULL command in PPL Signed-off-by: Norman Jordan <norman.jordan@improving.com>
normanj-bitquill
added a commit
to Bit-Quill/opensearch-project-sql
that referenced
this issue
Oct 30, 2024
* Add FILLNULL command in PPL Signed-off-by: Norman Jordan <norman.jordan@improving.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
We propose adding a
fillnull
command to OpenSearch's Piped Processing Language (PPL) to provide a convenient way to handle null or missing values in query results. This feature would be similar to thefillnull
command in Splunk's SPL, enhancing PPL's data cleaning and preparation capabilities.Proposed Functionality:
Example Usage:
This would replace all null values in all fields with 0.
This would replace null values in field1 and field2 with "N/A".
This would fill null values in different fields with different values.
This example uses
eval
to create a new field (or overwrite an existing one) based on a condition, and then usefillnull
to handle the null valuesThis example uses multiple eval expressions to handle different conditions for multiple fields, followed by fillnull
implementation Considerations:
The text was updated successfully, but these errors were encountered: