NIFI-7933 - Set proper property descriptor for CSV Escape

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #4606.
This commit is contained in:
Indrajeet Gour 2020-10-16 01:53:32 +05:30 committed by Pierre Villard
parent 5b5b9a7800
commit 4a370eae8c
No known key found for this signature in database
GPG Key ID: F92A93B30C07C6D5
1 changed files with 1 additions and 1 deletions

View File

@ -342,7 +342,7 @@ public class SelectHiveQL extends AbstractHiveQLProcessor {
final String altHeader = context.getProperty(HIVEQL_CSV_ALT_HEADER).evaluateAttributeExpressions(fileToProcess).getValue();
final String delimiter = context.getProperty(HIVEQL_CSV_DELIMITER).evaluateAttributeExpressions(fileToProcess).getValue();
final boolean quote = context.getProperty(HIVEQL_CSV_QUOTE).asBoolean();
final boolean escape = context.getProperty(HIVEQL_CSV_HEADER).asBoolean();
final boolean escape = context.getProperty(HIVEQL_CSV_ESCAPE).asBoolean();
final String fragmentIdentifier = UUID.randomUUID().toString();
try (final Connection con = dbcpService.getConnection(fileToProcess == null ? Collections.emptyMap() : fileToProcess.getAttributes());