Hi Francesc,
thanks for fixing this.
My use case for this is that I have a couple of tables that share a
one-to-many relation.
I could use the row number as an index, but that is to fragile for my case.
So I have a unique key for each entry in one table, and I select a variable
number of rows from a second table that correspond to each key.
The way I do that in pytables is to loop over all keys and select from the
second table with table.where(table.cols.key==currentKey)
I have several lists of keys that I have to compare, and I'm using numpy for
that, so naturally I have to make the selection based on numpy scalars.
My problem with your fix is that the latest revision in svn (2219) doesn't
compile:
src/TableExtension.c:89: unnamed fields of type other than struct or union
are not allowed
where the corresponding line in src/TableExtension.c is this:
hsize_t ;
Well, src/TableExtension.c is generated by pyrex, and I don't know where the
problem lies.
Cheers,
Jan
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users