We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Repro is with a99b4f9.
This inconsistency was noted by @mccanne.
$ echo '[1]([(int64,string)])' | zq 'yield this[0]+1' - 2 $ echo '1((int64,string))' | zq 'yield this+1' - error("incompatible types")
The text was updated successfully, but these errors were encountered:
expr.Coerce(): Deref union values
46c61ca
Closes #4955
bd6d1cd
be4f298
coerce.Pair: Deref union values (#4995)
144cc28
Verified in Zed commit b58a6d7.
The second repro example above now returns the expected result rather than an error.
$ zq -version Version: v1.12.0-36-gb58a6d7a $ echo '1((int64,string))' | zq 'yield this+1' - 2
Thanks @mattnibs!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Repro is with a99b4f9.
This inconsistency was noted by @mccanne.
The text was updated successfully, but these errors were encountered: