Error NamedStructField should be rewritten in OperatorToFunction with subquery
if query is wrapped in view
#10764
Labels
bug
Something isn't working
Describe the bug
When selecting from a view that selects fields from structs, this error is thrown:
To Reproduce
In datafusion 38.0.0 cli:
Expected behavior
Additional context
It errors the same when a subquery is viewed:
create view v as select (select struct(1, 'b')['c1']);
.This error appeared once as a regression in 37.0: #10029
The text was updated successfully, but these errors were encountered: