aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramnosov <amnosov@yandex-team.com>2022-07-26 16:46:17 +0300
committeramnosov <amnosov@yandex-team.com>2022-07-26 16:46:17 +0300
commit90041d9f27af525ba61f4a23456beb6c02c0d194 (patch)
tree8159789bae8b34d68fe7924320fb40e328ebc278
parent101071021304b7656f91ac8fc1cd510593fc1eba (diff)
downloadydb-90041d9f27af525ba61f4a23456beb6c02c0d194.tar.gz
[] Specific exception added in case of input of FOLDER() is not a folder
-rw-r--r--ydb/library/yql/core/issue/protos/issue_id.proto1
-rw-r--r--ydb/library/yql/core/issue/yql_issue.txt4
2 files changed, 5 insertions, 0 deletions
diff --git a/ydb/library/yql/core/issue/protos/issue_id.proto b/ydb/library/yql/core/issue/protos/issue_id.proto
index 5759dfe5020..f866325f0f4 100644
--- a/ydb/library/yql/core/issue/protos/issue_id.proto
+++ b/ydb/library/yql/core/issue/protos/issue_id.proto
@@ -99,6 +99,7 @@ message TIssuesIds {
YT_ROWSPEC_DIFF_SORT = 3015;
YT_NATIVE_DESC_SORT_IGNORED = 3016;
YT_MISSING_PROTO_FIELD = 3017;
+ YT_FOLDER_INPUT_IS_NOT_A_FOLDER = 3018;
// yql parser warnings
YQL_PRAGMA_WARNING_MSG = 4500;
diff --git a/ydb/library/yql/core/issue/yql_issue.txt b/ydb/library/yql/core/issue/yql_issue.txt
index 3418b4ac5e2..bde10483c60 100644
--- a/ydb/library/yql/core/issue/yql_issue.txt
+++ b/ydb/library/yql/core/issue/yql_issue.txt
@@ -620,3 +620,7 @@ ids {
code: YQL_DUPLICATE_DECLARE
severity: S_WARNING
}
+ids {
+ code: YT_FOLDER_INPUT_IS_NOT_A_FOLDER
+ severity: S_ERROR
+} \ No newline at end of file