This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
     new 3c0b21907f NIFI-11896 Corrected backported changes for QuestDB 6
3c0b21907f is described below

commit 3c0b21907fa57fa2c8bb290950d1183cf628e694
Author: exceptionfactory <exceptionfact...@apache.org>
AuthorDate: Thu Aug 3 11:50:33 2023 -0500

    NIFI-11896 Corrected backported changes for QuestDB 6
    
    Signed-off-by: David Handermann <exceptionfact...@apache.org>
---
 .../nifi/controller/status/history/questdb/QuestDbWritingTemplate.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/status/history/questdb/QuestDbWritingTemplate.java
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/status/history/questdb/QuestDbWritingTemplate.java
index 36a9fc954f..fd8d229e5f 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/status/history/questdb/QuestDbWritingTemplate.java
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/status/history/questdb/QuestDbWritingTemplate.java
@@ -59,7 +59,7 @@ public abstract class QuestDbWritingTemplate<T> {
             LOGGER.error("Table Token for table [{}] not found", tableName);
         } else {
             try (
-                final TableWriter tableWriter = engine.getWriter(tableToken, 
"adding rows")
+                final TableWriter tableWriter = 
engine.getWriter(context.getCairoSecurityContext(), tableToken, "adding rows")
             ) {
                 addRows(tableWriter, entries);
                 tableWriter.commit();

Reply via email to