diff options
author | Mikhail Surin <[email protected]> | 2022-06-10 06:07:48 +0300 |
---|---|---|
committer | Mikhail Surin <[email protected]> | 2022-06-10 06:07:48 +0300 |
commit | 8cdab022c86fa4d6b2817426e81465bee17f6721 (patch) | |
tree | b6346b4a1c1b813228b2772d713a59625021fa22 | |
parent | 17d51d3173ab5058f9f97c9a80e603fe229ebd90 (diff) |
Enable ReadTableRanges for sysview tables KIKIMR-12434
ref:573e83d84546607ff10246d4ec6dd834bb2142c3
-rw-r--r-- | ydb/core/kqp/opt/kqp_opt_kql.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ydb/core/kqp/opt/kqp_opt_kql.cpp b/ydb/core/kqp/opt/kqp_opt_kql.cpp index 7aa4153f93d..aff06563c62 100644 --- a/ydb/core/kqp/opt/kqp_opt_kql.cpp +++ b/ydb/core/kqp/opt/kqp_opt_kql.cpp @@ -27,14 +27,6 @@ bool UseReadTableRanges(const TKikimrTableDescription& tableData, const TIntrusi return predicateExtractSetting == EOptionalFlag::Enabled; } - /* - * SysView tables can't work with ReadRanges, because they do not support multiple ranges. - * KIKIMR-12434 - */ - if (tableData.Metadata->Kind == EKikimrTableKind::SysView) { - return false; - } - if (kqpCtx->IsScanQuery() && kqpCtx->Config->FeatureFlags.GetEnablePredicateExtractForScanQueries()) { return true; } |