Created on 04-19-2019 01:28 PM - edited 08-17-2019 03:51 PM
Hey, I'm receiving a special character error in Apache Nifi, I have 4 columns that could be causing it:
UCR_COST_IN_$,
ACTUAL_COST_IN_$
or
REQUESTED#,
ASSIGNED#
any help or solutions would be greatly appreciated!
Created 04-19-2019 01:58 PM
In executesql processor change Normalize Table/Column Names property value to true
(or)
in your select query add an alias name to the special character field names without special character.
Created 04-19-2019 03:58 PM
so how would I do the 2nd one? I tried the first one but it put "Null" into all the rows in the destination table.
Created 04-20-2019 09:04 PM
We need to use ReplaceText processor after GenerateTableFetch processor and replace select * with:
select col1, UCR_COST_IN_$ as UCR_COST_IN from table //replace * with column names and add an alias