diff --git a/ydb/core/kqp/executer_actor/kqp_data_executer.cpp b/ydb/core/kqp/executer_actor/kqp_data_executer.cpp index bc929b8ab60c..31ba5f2b3f18 100644 --- a/ydb/core/kqp/executer_actor/kqp_data_executer.cpp +++ b/ydb/core/kqp/executer_actor/kqp_data_executer.cpp @@ -2095,8 +2095,7 @@ class TKqpDataExecuter : public TKqpExecuterBaseRegisterWithSameMailbox(kqpShardsResolver); return; } else if (HasOlapTable) { - GetResourcesSnapshot(); - return; + ResourceSnapshotRequired = true; } } DoExecute(); @@ -2106,10 +2105,8 @@ class TKqpDataExecuter : public TKqpExecuterBase #include #include +#include #include #include @@ -921,6 +922,8 @@ class TKqpQueryExecutor : public IKikimrQueryExecutor { hasFederatedSorcesOrSinks = hasFederatedSorcesOrSinks || node.Maybe() || node.Maybe() + || node.Maybe() + || node.Maybe() || node.Maybe(); return !hasFederatedSorcesOrSinks; diff --git a/ydb/tests/tools/kqprun/.gitignore b/ydb/tests/tools/kqprun/.gitignore index e240c8c1f76b..807aadd42e70 100644 --- a/ydb/tests/tools/kqprun/.gitignore +++ b/ydb/tests/tools/kqprun/.gitignore @@ -5,3 +5,4 @@ udfs *.json *.sql *.bin +*.txt diff --git a/ydb/tests/tools/kqprun/configuration/app_config.conf b/ydb/tests/tools/kqprun/configuration/app_config.conf index 69fcd118a20c..058bf7cecdb1 100644 --- a/ydb/tests/tools/kqprun/configuration/app_config.conf +++ b/ydb/tests/tools/kqprun/configuration/app_config.conf @@ -110,6 +110,7 @@ TableServiceConfig { BindingsMode: BM_DROP CompileTimeoutMs: 600000 EnableCreateTableAs: true + EnableOlapSink: true EnablePerStatementQueryExecution: true SessionsLimitPerNode: 1000