diff options
author | vitya-smirnov <[email protected]> | 2025-08-13 15:40:52 +0300 |
---|---|---|
committer | vitya-smirnov <[email protected]> | 2025-08-13 16:35:22 +0300 |
commit | 0412ed8db0700d3897e00be3a0cad6b2e8625883 (patch) | |
tree | e120a05f38f60c530dc5a09e9bf70d70dd3705b1 /yql/essentials/sql/v1/complete/name/object/schema.h | |
parent | b72d72afabd4fc56ff5573b6b8118c8cca597205 (diff) |
YQL-20301: Map unsupported object to UnknownName
Before this PR unsupported objects were filtered,
but we would like to show even unsupported object
types as unknown name candidates.
commit_hash:04c64b6e28717c3c19927d49eeedec7515608c22
Diffstat (limited to 'yql/essentials/sql/v1/complete/name/object/schema.h')
-rw-r--r-- | yql/essentials/sql/v1/complete/name/object/schema.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yql/essentials/sql/v1/complete/name/object/schema.h b/yql/essentials/sql/v1/complete/name/object/schema.h index d779b293674..e3af2df024d 100644 --- a/yql/essentials/sql/v1/complete/name/object/schema.h +++ b/yql/essentials/sql/v1/complete/name/object/schema.h @@ -13,6 +13,8 @@ namespace NSQLComplete { static constexpr const char* Folder = "Folder"; static constexpr const char* Table = "Table"; + static THashSet<TString> KnownTypes; + TString Type; TString Name; @@ -21,6 +23,7 @@ namespace NSQLComplete { struct TListFilter { TMaybe<THashSet<TString>> Types; + bool IsUnknownAllowed = false; }; struct TListRequest { |