aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraneporada <aneporada@yandex-team.com>2024-11-30 12:59:34 +0300
committeraneporada <aneporada@yandex-team.com>2024-11-30 13:14:49 +0300
commit4a7ef6510b83e56e970f84dfe36d5db561f360e0 (patch)
tree3ef0589e82de7e2574706578718cee5ee6acabb2
parent9dc6b2fddb37a98c860a013c641c112d5030c7a7 (diff)
downloadydb-4a7ef6510b83e56e970f84dfe36d5db561f360e0.tar.gz
Add CBO warnings
commit_hash:6d989d85970cb7fd0233853c26d44ff8b5ba3c8d
-rw-r--r--yql/essentials/core/issue/protos/issue_id.proto4
-rw-r--r--yql/essentials/core/issue/yql_issue.txt8
2 files changed, 12 insertions, 0 deletions
diff --git a/yql/essentials/core/issue/protos/issue_id.proto b/yql/essentials/core/issue/protos/issue_id.proto
index 975efe5e3b..688a471afb 100644
--- a/yql/essentials/core/issue/protos/issue_id.proto
+++ b/yql/essentials/core/issue/protos/issue_id.proto
@@ -195,6 +195,10 @@ message TIssuesIds {
PG_NO_LOCKING_SUPPORT = 7000;
PG_COMPAT = 7001;
+// CBO
+ CBO_ENUM_LIMIT_REACHED = 8000;
+ CBO_MISSING_TABLE_STATS = 8001;
+
// range [200000, 399999) reserved for KiKiMR issue codes, do not use!
}
diff --git a/yql/essentials/core/issue/yql_issue.txt b/yql/essentials/core/issue/yql_issue.txt
index 82a0a1eecd..148363532c 100644
--- a/yql/essentials/core/issue/yql_issue.txt
+++ b/yql/essentials/core/issue/yql_issue.txt
@@ -683,3 +683,11 @@ ids {
code: CORE_TOP_UNSUPPORTED_BLOCK_CALLABLES
severity: S_INFO
}
+ids {
+ code: CBO_ENUM_LIMIT_REACHED
+ severity: S_WARNING
+}
+ids {
+ code: CBO_MISSING_TABLE_STATS
+ severity: S_WARNING
+}