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:
[email protected]


With regards,
Apache Git Services

Reply via email to