sql (fix): Resolve UNNEST earlier to prevent cyclic references #5339
Annotations
3 errors
airframe-sql/src/test/scala/wvlet/airframe/sql/analyzer/TypeResolverTest.scala#L980
[SyntaxError] line 1:45 name is ambiguous:
- *name:string <- A.name
- *name:?
|
airframe-sql/src/test/scala/wvlet/airframe/sql/analyzer/TypeResolverTest.scala#L988
Found unresolved expressions in:
[sql]
SELECT id, t.name FROM A CROSS JOIN UNNEST (A.name) AS t (name)
[plan]
[Project]: (id:long, name:string, name:string) => (id:long, name:?)
- *id:long <- A.id
- UnresolvedAttribute(t.name)
[CrossJoin]: (id:long, name:string, name:string) => (id:long, name:string, name:string)
- NaturalJoin
[TableScan] default.A: => (id:long, name:string)
[AliasedRelation]: => (name:string)
- ResolvedIdentifier(Id(t))
[Unnest]: => (name:string)
- *A.name:string <- A.name
[unresolved expressions]
UnresolvedAttribute(t.name)
|
|
The logs for this run have expired and are no longer available.
Loading