Skip to content

Commit 240d0d6

Browse files
Updated the multi field integration test
1 parent 33a04a6 commit 240d0d6

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

docs/user/ppl/cmd/fillnull.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@ The example show to replace null values for email with "<not found>" and null va
5151

5252
PPL query::
5353

54-
os> source=accounts | fields email, host | fillnull using email = '<not found>', host = '<no host>' ;
54+
os> source=accounts | fields email, employer | fillnull using email = '<not found>', employer = '<no employer>' ;
5555
fetched rows / total rows = 4/4
56-
+-----------------------+------------+
57-
| email | host |
58-
|-----------------------+------------|
59-
| amberduke@pyrami.com | pyrami.com |
60-
| hattiebond@netagy.com | netagy.com |
61-
| <not found> | |
62-
| daleadams@boink.com | boink.com |
63-
+-----------------------+------------+
56+
+-----------------------+---------------+
57+
| email | employer |
58+
|-----------------------+---------------|
59+
| amberduke@pyrami.com | Pyrami |
60+
| hattiebond@netagy.com | Netagy |
61+
| <not found> | Quility |
62+
| daleadams@boink.com | <no employer> |
63+
+-----------------------+---------------+
6464

6565
Limitation
6666
==========

integ-test/src/test/resources/expectedOutput/ppl/explain_fillnull_push.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
},
77
"children": [
88
{
9-
"name":"EvalOperator",
9+
"name": "EvalOperator",
1010
"description": {
1111
"expressions": {
1212
"balance": "ifnull(balance, -1)",
13-
"age":"ifnull(age, -1)"
13+
"age": "ifnull(age, -1)"
1414
}
1515
},
1616
"children": [
@@ -23,7 +23,7 @@
2323
{
2424
"name": "OpenSearchIndexScan",
2525
"description": {
26-
"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)"
26+
"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)"
2727
},
2828
"children": []
2929
}

0 commit comments

Comments
 (0)