Empty values vs Null values

Solved!
AHerrera101499
Level 2
Empty values vs Null values

Hi Everyone,

I want to know a way to distinguish between null values and empty values because I used the isNull() function in the prepare recipe but that function didn't recognize that difference.

Regards

0 Kudos
1 Solution
JordanB
Dataiker

Hi @AHerrera101499,

You may reference the DSS documentation on formulas, specifically, isBlank and isNull: https://doc.dataiku.com/dss/latest/formula/index.html

For example, you can use in your formula: isBlank(col_1) or isNull(col_1)

Note, if you are running your prepare recipe in-database, you may experience a difference in execution then if you are running it with the dss engine. I would recommend using the dss engine in this case, if possible. 

Thanks,

Jordan

View solution in original post

2 Replies
JordanB
Dataiker

Hi @AHerrera101499,

You may reference the DSS documentation on formulas, specifically, isBlank and isNull: https://doc.dataiku.com/dss/latest/formula/index.html

For example, you can use in your formula: isBlank(col_1) or isNull(col_1)

Note, if you are running your prepare recipe in-database, you may experience a difference in execution then if you are running it with the dss engine. I would recommend using the dss engine in this case, if possible. 

Thanks,

Jordan

AHerrera101499
Level 2
Author

Thanks @JordanB for the help.

Labels

?
Labels (3)

Setup info

?
A banner prompting to get Dataiku