Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report]: use of arrays HOF with structs doesnt work #225

Closed
alfonsorr opened this issue Jun 8, 2022 · 0 comments · Fixed by #227
Closed

[Bug report]: use of arrays HOF with structs doesnt work #225

alfonsorr opened this issue Jun 8, 2022 · 0 comments · Fixed by #227
Labels
API bug 🐛 Something isn't working

Comments

@alfonsorr
Copy link
Member

alfonsorr commented Jun 8, 2022

A transformation like:

col[Array[Row]]("abc").filter(x => x.childColumn[String].isNull)

throws the error:
cannot resolve 'x' given input columns: [...,...]

  • I have checked the current created issues, and it seems there is no other issue like this one:
    • YES

Doric version *

All

Current Behavior *

col[Array[Row]]("abc").filter(x => x.childColumn[String].isNull)

throws the error:
cannot resolve 'x' given input columns: [...,...]

Expected Behavior *

col[Array[Row]]("abc").filter(x => x.childColumn[String].isNull)

should check that the child "childColumn" exist and is of the provided type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants