google / google/googlesql

ResolvedStatement.debugString throws UnsupportedOperationException

Open
#96 0 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

Attempting to understand the traversal graph of a `ResolvedStatement`, i.e.

```
new ResolvedNodes.Visitor() {
@Override
public void visit(ResolvedCreateProcedureStmt node) {
LOGGER.log(Level.INFO, node.debugString());
super.visit(node);
}
```

but `debugString()` throws `java.lang.UnsupportedOperationException`.

What would it take to implement this?

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.