Skip to content

Commit

Permalink
Updated the multi field integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
normanj-bitquill committed Oct 30, 2024
1 parent 33a04a6 commit 240d0d6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions docs/user/ppl/cmd/fillnull.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ The example show to replace null values for email with "<not found>" and null va

PPL query::

os> source=accounts | fields email, host | fillnull using email = '<not found>', host = '<no host>' ;
os> source=accounts | fields email, employer | fillnull using email = '<not found>', employer = '<no employer>' ;
fetched rows / total rows = 4/4
+-----------------------+------------+
| email | host |
|-----------------------+------------|
| [email protected] | pyrami.com |
| [email protected] | netagy.com |
| <not found> | |
| [email protected] | boink.com |
+-----------------------+------------+
+-----------------------+---------------+
| email | employer |
|-----------------------+---------------|
| [email protected] | Pyrami |
| [email protected] | Netagy |
| <not found> | Quility |
| [email protected] | <no employer> |
+-----------------------+---------------+

Limitation
==========
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
},
"children": [
{
"name":"EvalOperator",
"name": "EvalOperator",
"description": {
"expressions": {
"balance": "ifnull(balance, -1)",
"age":"ifnull(age, -1)"
"age": "ifnull(age, -1)"
}
},
"children": [
Expand All @@ -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": []
}
Expand Down

0 comments on commit 240d0d6

Please sign in to comment.