-
Notifications
You must be signed in to change notification settings - Fork 34
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
array.query no longer works for string attributes #307
Comments
Followup: I misdiagnosed the problem. It is not just with query, but also with indexing into the array. Let me know I you'd like me to send the array.
output:
|
Hi @bmccandless,
If array is shareable that would be very helpful (email if you prefer not
to post). Otherwise, if you can show the repr of ‘array.schema’ (which now
returns a valid python expression) then I will try to repro with synthetic
data.
|
I have a case that looks basically like this:
This works when the type of the attribute is a float or an int.
But if the type of the attribute is a string, this fails with an exception:
This worked in v1.7.6, and I ran into this problem when porting to 2.0.0.
If there is a better way to pull out just one attribute from the array, then
I'm open to suggestions.
example.zip
Attached is a script, output from 1.7.6, and output from 2.0.0
The text was updated successfully, but these errors were encountered: