Skip to content

Commit 3039b60

Browse files
committed
fix doc
Signed-off-by: Lantao Jin <ltjin@amazon.com>
1 parent c3ee78f commit 3039b60

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/user/ppl/functions/condition.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Description
276276

277277
Version: 3.1.0
278278

279-
Usage: isblank(field) returns true if the field is missing, an empty string, or contains only white space.
279+
Usage: isblank(field) returns true if the field is null, an empty string, or contains only white space.
280280

281281
Argument type: all the supported data type.
282282

@@ -304,21 +304,21 @@ Description
304304

305305
Version: 3.1.0
306306

307-
Usage: isempty(field) returns true if the field is missing or is an empty string.
307+
Usage: isempty(field) returns true if the field is null or is an empty string.
308308

309309
Argument type: all the supported data type.
310310

311311
Return type: BOOLEAN
312312

313313
Example::
314314

315-
PPL> source=accounts | eval temp = ifnull(employer, ' ') | eval `isblank(employer)` = isblank(employer), `isblank(temp)` = isblank(temp) | fields `isblank(temp)`, temp, `isblank(employer)`, employer
315+
PPL> source=accounts | eval temp = ifnull(employer, ' ') | eval `isempty(employer)` = isempty(employer), `isempty(temp)` = isempty(temp) | fields `isempty(temp)`, temp, `isempty(employer)`, employer
316316
fetched rows / total rows = 4/4
317317
+---------------+---------+-------------------+----------+
318-
| isblank(temp) | temp | isblank(employer) | employer |
318+
| isempty(temp) | temp | isempty(employer) | employer |
319319
|---------------+---------+-------------------+----------|
320320
| False | Pyrami | False | Pyrami |
321321
| False | Netagy | False | Netagy |
322322
| False | Quility | False | Quility |
323-
| True | | True | null |
323+
| False | | True | null |
324324
+---------------+---------+-------------------+----------+

0 commit comments

Comments
 (0)