SQL operators and primitive values should use a richer type system than SqlTypeName
Open
dsl
P3
sql
sub-task
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
A SqlTypeName is a _type constructor_, not a type. It is not a full type until it is applied to parameters. The type name "row" is not a type until applied to a schema. The type name "array" takes one parameter - the type of its contents.
We could use Beam's FieldType, but more likely should have a thin wrapper for Beam SQL types.
Imported from Jira [BEAM-4412](https://issues.apache.org/jira/browse/BEAM-4412). Original Jira may contain additional context.
Reported by: kenn.
Subtask of issue #18898
Contributor guide
Assessment
This issue has not been assessed yet.