insert blank values in xlxs file into a Null Values ?
i used expression evaluator to give or insert blank record values into Null Values ,how can i achieve this . this is my incoming data from origin.
these type field had Blank ,but i want to feed Null ..i used this expression: ${str:isNullOrEmpty(record:value('/TYPE_1099'))?NULL:record:value('/TYPE_1099')} but it fails .
Page 1 / 1
@lakshmi_narayanan_t
The string is neither empty not NULL , can you please give a try with the below syntax and check if it works.
In this case there is no value for TYPE_1099 ,so that’s reason its throwing error.
I noticed you are trying to assign NULL value to the string , kindly provide me the pipeline or test file ,so i can check and help you on the same.
Thanks & Regards
Bikram_
i followed you expression but it shows error expression used =${record:value('/TYPE_1099')?record:value('/TYPE_1099'):NULL}}
out-put shows excess brackets as a string ,so i reconfigured the expression to remove one brackets like expression used =${record:value('/TYPE_1099')?record:value('/TYPE_1099'):NULL} again same error
@lakshmi_narayanan_t
My bad there was type in the syntax , can you try with below and check if it helps.
If its possible kindly provide me the test file and also let me know the source from where you are fetching data from the file,so i can help you on the same.
Pipeline will be good for me also if its possible.
Thanks & regards
Bikram_
@lakshmi_narayanan_t
If its possible kindly provide me the test file and also let me know the source from where you are fetching data from the file,so i can help you on the same.
Pipeline will be good for me also if its possible.
Thanks & regards
Bikram_
i fetch my file from spreedsheet like XLSX file format from origin directory.
@lakshmi_narayanan_t
can you please provide me the test file which contains empty value in the shell ,so i can validate in my SDC and try to help you on the same.
Thanks & Regards
Bikram_
@lakshmi_narayanan_t
can you please provide me the test file which contains empty value in the shell ,so i can validate in my SDC and try to help you on the same.
Thanks & Regards
Bikram_
this is my test file i provide for your refference . thank you
@lakshmi_narayanan_t
Kindly try with below code snippet and let me know if it helps. I also attached the pipeline for your reference.
At the same time I want give null values to all incoming columns had Blank values ,if any other processor can done this job because I had many columns ,so it really time consume to manually type column.