google / google/googlesql

ParseLocationRange is not populated for all Resolved Nodes

Open
#57 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
2.6k
Forks
260
PR merge metrics
No merged PRs in 30d

Description

Hello,

We are looking to use ParseLocationRange from the proto objects. However these values are only populated for a small portion of resolved nodes. For example,

- ResolvedScan objects may include the source location set to include the query as expected or it could be missing.
- For a ResolvedTVFScan, location range only includes function name instead of whole expression.
- For the remainder of objects, only ResolvedLiteral and ResolvedFunctionArgument seem to be correctly populated.

Is it possible to extract source location for the remainder of the ResolvedNode objects?

Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.