You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2019/11/25 18:48:30 UTC

[GitHub] [nifi] bahlulh commented on a change in pull request #3893: NIFI-6878: Added 'Use statement.type Attribute' to ConvertJSONToSQL

bahlulh commented on a change in pull request #3893: NIFI-6878: Added 'Use statement.type Attribute' to ConvertJSONToSQL
URL: https://github.com/apache/nifi/pull/3893#discussion_r350357556
 
 

 ##########
 File path: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ConvertJSONToSQL.java
 ##########
 @@ -380,6 +383,10 @@ public void process(final InputStream in) throws IOException {
                 tableNameBuilder.append(tableName);
                 final String fqTableName = tableNameBuilder.toString();
 
+                if (USE_ATTR_TYPE.equals(statementType)) {
 
 Review comment:
   What does this statement do?
   `statementType = flowFile.getAttribute(STATEMENT_TYPE_ATTRIBUTE);`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services