Github user mattyb149 commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1217#discussion_r87859341
--- Diff:
nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/src/main/java/org/apache/nifi/processors/hive/SelectHiveQL.java
---
@@ -90,11 +98,59 @@
.name("hive-query")
.displayName("HiveQL Select Query")
.description("HiveQL SELECT query to execute")
+ .required(false)
+ .addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
+ .expressionLanguageSupported(true)
+ .build();
+
+ public static final PropertyDescriptor HIVEQL_CSV_HEADER = new
PropertyDescriptor.Builder()
+ .name("csv-header")
+ .displayName("CSV Header")
+ .description("Include Header in Output")
+ .required(true)
+ .allowableValues("true", "false")
+ .defaultValue("true")
+ .addValidator(StandardValidators.BOOLEAN_VALIDATOR)
+ .build();
+
+ public static final PropertyDescriptor HIVEQL_CSV_ALT_HEADER = new
PropertyDescriptor.Builder()
+ .name("csv-alt-header")
+ .displayName("Alternate CSV Header")
+ .description("Comma separated list of header fields")
+ .required(false)
+ .addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
+ .expressionLanguageSupported(true)
+ .build();
+
+ public static final PropertyDescriptor HIVEQL_CSV_DELIMITER = new
PropertyDescriptor.Builder()
+ .name("csv-delimiter")
+ .displayName("CSV Delimiter")
+ .description("CSV Delimiter used to separate fields")
.required(true)
+ .defaultValue(",")
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
.expressionLanguageSupported(true)
.build();
+ public static final PropertyDescriptor HIVEQL_CSV_QUOTE = new
PropertyDescriptor.Builder()
+ .name("csv-quote")
+ .displayName("CSV Quote")
+ .description("Force Quote CSV, might conflict with ESCAPE")
--- End diff --
Is there a small example we could include here to illustrate the kind of
conflict you mention?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---