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

Time64Cols don't work nicely with querying #230

Closed
scopatz opened this issue Apr 15, 2013 · 1 comment
Closed

Time64Cols don't work nicely with querying #230

scopatz opened this issue Apr 15, 2013 · 1 comment
Labels
Milestone

Comments

@scopatz
Copy link
Member

scopatz commented Apr 15, 2013

This is probably related to #119. See [1] for more details, but here is the meat of the problem (I think):

This is very likely a bug with respect to querying based off of Time64Cols not being converted to Float64s for the query itself. Under the covers, HDF5 and PyTables represent Time64 as a posix times, which are structs of two 4 byte ints [1]. These obviously have a very different memory layout than your standard float64. This is why this comparison is failing.

numexpr doesn't support the time64 datatype, nor does it support bit shift operators. This makes it difficult to impossible to use time64 columns properly from within a query right now.

  1. http://sourceforge.net/mailarchive/message.php?msg_id=30726143
@avalentino
Copy link
Member

This have been fixed by PR #232.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants