summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/complete/analysis/global/function.h
diff options
context:
space:
mode:
authorvityaman <[email protected]>2025-06-11 14:10:16 +0300
committerrobot-piglet <[email protected]>2025-06-11 14:25:30 +0300
commit64d942a7a113cfd57860923499139d09807bc610 (patch)
tree7c022060536c3fc361c8932be140610e32f67fd9 /yql/essentials/sql/v1/complete/analysis/global/function.h
parenta4f376903fb769e2d40cc68cbb5ae8ce649b3a9c (diff)
YQL-19747: Support table completion at CONCAT
--- - Related to `YQL-19747` - Related to https://github.com/vityaman/ydb/issues/62 --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1323 commit_hash:ebab6c3290ba984174c85bba35eeb066b53af5aa
Diffstat (limited to 'yql/essentials/sql/v1/complete/analysis/global/function.h')
-rw-r--r--yql/essentials/sql/v1/complete/analysis/global/function.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/yql/essentials/sql/v1/complete/analysis/global/function.h b/yql/essentials/sql/v1/complete/analysis/global/function.h
new file mode 100644
index 00000000000..bb94e71318e
--- /dev/null
+++ b/yql/essentials/sql/v1/complete/analysis/global/function.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "parse_tree.h"
+
+#include <util/generic/maybe.h>
+#include <util/generic/string.h>
+
+namespace NSQLComplete {
+
+ TMaybe<TString> EnclosingFunction(
+ SQLv1::Sql_queryContext* ctx,
+ antlr4::TokenStream* tokens,
+ size_t cursorPosition);
+
+} // namespace NSQLComplete