We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4b91d7 commit c94486aCopy full SHA for c94486a
sqlmesh/lsp/hints.py
@@ -7,7 +7,6 @@
7
from sqlglot import exp
8
from sqlglot.expressions import Expression
9
from sqlglot.optimizer.normalize_identifiers import normalize_identifiers
10
-from sqlglot.optimizer.scope import build_scope
11
from sqlmesh.core.model.definition import SqlModel
12
from sqlmesh.lsp.context import LSPContext, ModelTarget
13
from sqlmesh.lsp.uri import URI
@@ -123,10 +122,6 @@ def _get_type_hints_for_model_from_query(
123
122
hints: t.List[types.InlayHint] = []
124
try:
125
query = normalize_identifiers(query.copy(), dialect=dialect)
126
- root = build_scope(query)
127
-
128
- if not root:
129
- return []
130
131
return [
132
hint
0 commit comments