hdfs - Scenarios possible in apache nifi -
i trying understand apache nifi in , out keeping files in hdfs , have various scenarios work on. please let me know feasibility of each explanations. adding few understanding each scenario.
- can check
null
value present in single column? have checked different processors, , foundnotnull
property, think works on file names, not on columns present within file. - can drop column present in hdfs using nifi transformations?
- can change column values in replace 1 text other? have checked replacetext property same.
- can delete row file system?
please suggest possibilities , how achieve goal.
try this:
1.can check null value present in single column? have checked different : yes using replace text processor can check , replace if want replace or use 'route on attribute' if want route based on null value condition.
- can drop column present in hdfs using nifi transformations? yes using same 'replacetext' processor can put desired fields delimiter used have current date field , mandatory fields in data comma separated provided replacement value
"${'userid'}","${'appid'}","${sitename}","${now():format("yyyy-mm-dd")}"
- to change column value use 'replacetext' processor.
Comments
Post a Comment