StructType.toString throws UnsupportedOperationException
Open
- Dominant language
- C++
- Stars
- 2.6k
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
Doing String.format or any other function that calls toString fails on a struct type.
```
java.lang.UnsupportedOperationException
at com.google.zetasql.ZetaSQLStrings.toIdentifierLiteral(ZetaSQLStrings.java:39)
at com.google.zetasql.StructType.debugString(StructType.java:177)
at com.google.zetasql.Type.toString(Type.java:334)
at java.util.Formatter$FormatSpecifier.printString(Formatter.java:2886)
at java.util.Formatter$FormatSpecifier.print(Formatter.java:2763)
at java.util.Formatter.format(Formatter.java:2520)
at java.util.Formatter.format(Formatter.java:2455)
at java.lang.String.format(String.java:2942)
```
Contributor guide
Assessment
This issue has not been assessed yet.