#27 Table class method where() does not work on indexed columns

closed
None
5
2005-05-17
2005-05-16
No

When using the Table class method where() on indexed
columns, it will not return values even if they are
within the given condition.

Attached is code that demonstrates this problem. The
code does this by creating a table with two columns
with identical data, the only difference being that one
column is indexed, and the other is not. When using
where() with identical ranges on both the columns the
call on the non-indexed column will return values,
while the call on the indexed column will not.

I have tested this code with PyTables 0.9.1, and the
problem is not present in that version.

Discussion

  • Justin Bronn

    Justin Bronn - 2005-05-16

    Code to demonstrate the where() problem on indexed columns.

     
  • Francesc Altet

    Francesc Altet - 2005-05-17
    • status: open --> closed
     
  • Francesc Altet

    Francesc Altet - 2005-05-17

    Logged In: YES
    user_id=249033

    Hi,

    This was a bug and has been fixed now in SVN
    repository. You can get a snapshot in
    http://www.carabos.com/downloads/pytables/snapshots/
    after migdnight (UTC).

    I'm attaching the patch just in case.

     
  • Francesc Altet

    Francesc Altet - 2005-05-17
    • assigned_to: nobody --> falted
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks