From 913177fe985e1cc94882aa2bc24af503363cc352 Mon Sep 17 00:00:00 2001 From: Norman Jordan Date: Wed, 30 Oct 2024 15:47:16 -0700 Subject: [PATCH] Updated the multi field integration test Signed-off-by: Norman Jordan --- docs/user/ppl/cmd/fillnull.rst | 18 +++++++++--------- .../ppl/explain_fillnull_push.json | 6 +++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/user/ppl/cmd/fillnull.rst b/docs/user/ppl/cmd/fillnull.rst index c04207723e..7dd8ea80c7 100644 --- a/docs/user/ppl/cmd/fillnull.rst +++ b/docs/user/ppl/cmd/fillnull.rst @@ -51,16 +51,16 @@ The example show to replace null values for email with "" and null va PPL query:: - os> source=accounts | fields email, host | fillnull using email = '', host = '' ; + os> source=accounts | fields email, employer | fillnull using email = '', employer = '' ; fetched rows / total rows = 4/4 - +-----------------------+------------+ - | email | host | - |-----------------------+------------| - | amberduke@pyrami.com | pyrami.com | - | hattiebond@netagy.com | netagy.com | - | | | - | daleadams@boink.com | boink.com | - +-----------------------+------------+ + +-----------------------+---------------+ + | email | employer | + |-----------------------+---------------| + | amberduke@pyrami.com | Pyrami | + | hattiebond@netagy.com | Netagy | + | | Quility | + | daleadams@boink.com | | + +-----------------------+---------------+ Limitation ========== diff --git a/integ-test/src/test/resources/expectedOutput/ppl/explain_fillnull_push.json b/integ-test/src/test/resources/expectedOutput/ppl/explain_fillnull_push.json index fe3a9cf820..e729e0dfbb 100644 --- a/integ-test/src/test/resources/expectedOutput/ppl/explain_fillnull_push.json +++ b/integ-test/src/test/resources/expectedOutput/ppl/explain_fillnull_push.json @@ -6,11 +6,11 @@ }, "children": [ { - "name":"EvalOperator", + "name": "EvalOperator", "description": { "expressions": { "balance": "ifnull(balance, -1)", - "age":"ifnull(age, -1)" + "age": "ifnull(age, -1)" } }, "children": [ @@ -23,7 +23,7 @@ { "name": "OpenSearchIndexScan", "description": { - "request": "OpenSearchQueryRequest(indexName=opensearch-sql_test_index_account, sourceBuilder={\"from\":0,\"size\":10000,\"timeout\":\"1m\",\"_source\":{\"includes\":[\"balance\",\"age\"],\"excludes\":[]}}, needClean=true, searchDone=false, pitId=null, cursorKeepAlive=null, searchAfter=null, searchResponse=null)" + "request": "OpenSearchQueryRequest(indexName=opensearch-sql_test_index_account, sourceBuilder={\"from\":0,\"size\":10000,\"timeout\":\"1m\",\"_source\":{\"includes\":[\"age\",\"balance\"],\"excludes\":[]}}, needClean=true, searchDone=false, pitId=null, cursorKeepAlive=null, searchAfter=null, searchResponse=null)" }, "children": [] }