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 2020/03/02 04:27:30 UTC

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

KuKuDeCheng 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_r386192688
 
 

 ##########
 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:
   If the property of `Statement Type` is  ser to 'Use statement.type Attribute', we get the type of SQL statement from the incoming flowfile 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