Details
-
Improvement
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
'Translate Field Names' in PutDatabaseRecord and ConvertJSONToSQL can help us map the field and column by
private static String normalizeColumnName(final String colName, final boolean translateColumnNames) { return translateColumnNames ? colName.toUpperCase().replace("_", "") : colName; }
but this rule `colName.toUpperCase().replace("_", "")` is fixed. I think maybe we can define the rule using Expression Language.
It's vary useful for 'Translate Field Names', but sometimes, there will be column names such as 'AB' and 'A_B' in the table, and `colName.toUpperCase().replace("_", "")` can not help
Attachments
Issue Links
- fixes
-
NIFI-5723 PutDatabaseRecord strips underbar character from column names
- Open
- links to