-
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
QueryCondition problems with ascii/bytes_ attributes #782
Comments
Thanks for bringing these issues to our attention. This is confusing but for dimensions, both I will add the bug into our issue tracker and take a look soon. |
https://github.com/TileDB-Inc/TileDB-Py/blob/dev/tiledb/libtiledb.pyx#L2267-L2288 |
@nguyenv - thank you! Beyond query conditions, are there any additional differences implied by |
Also, noted a very minor inconsistency with tiledb.Dim() and its handling of This creates an ascii, var=True dimension:
I would expect that the addition of
Oddly, it appears that
|
Another variation on the out-of-memory crasher ("Test 3" in the original test case above): it will occur for any value that does not exist in the query result dataset. In other words, this fails in the same manner:
|
Thanks for the additional example. I believe the issue has something to do with when no values match the condition when |
Test 3 is now fixed by this PR in core (TileDB-Inc/TileDB#2643). We'll be keeping this issue open until we the string typing issue resolved. |
Applying query conditions to |
Test case below demonstrates a few issues with QueryCondition on Linux/TileDB-Py 0.11.0
As I understand the typing system, attributes of type 'ascii' should be the same as numpy.bytes_. If that is wrong, the first two items below may not be accurate. Three issues:
dtype=np.bytes_
vsdtype="ascii"
give you two different schema types in the underlying array:Eg,
Results in:
np.bytes_
fails with the exception:This is demonstrated by the difference in the first two tests:
vs
Test case:
The text was updated successfully, but these errors were encountered: