@@ -276,7 +276,7 @@ Description
276276
277277Version: 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
281281Argument type: all the supported data type.
282282
@@ -304,21 +304,21 @@ Description
304304
305305Version: 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
309309Argument type: all the supported data type.
310310
311311Return type: BOOLEAN
312312
313313Example::
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