diff --git a/ydb/core/kqp/query_compiler/kqp_olap_compiler.cpp b/ydb/core/kqp/query_compiler/kqp_olap_compiler.cpp index 5f6283824745..73d2fc836863 100644 --- a/ydb/core/kqp/query_compiler/kqp_olap_compiler.cpp +++ b/ydb/core/kqp/query_compiler/kqp_olap_compiler.cpp @@ -856,6 +856,8 @@ TTypedColumn GetOrCreateColumnIdAndType(const TExprBase& node, TKqpOlapCompileCo return BuildLogicalNot(maybeNot.Cast().Value(), ctx); } else if (const auto& maybeJsonValue = node.Maybe()) { return ConvertJsonValueToColumn(maybeJsonValue.Cast(), ctx); + } else if (const auto& maybeJsonValue = node.Maybe()) { + return CompileJsonExists(maybeJsonValue.Cast(), ctx); } else if (const auto& maybeApply = node.Maybe()) { return CompileYqlKernelScalarApply(maybeApply.Cast(), ctx); }