Closed dhirschfeld closed 7 years ago
I need datashape to be able to handle foreign-key columns/tables which are very common in the databases I'm using. This is a very simple change which allows for that. AFAICS, without this change there is no way to use blaze/odo/datashape with any table which includes a foreign-key column?
In case it's useful for others I've published this branch on my anaconda.org repo:
conda install -c dhirschfeld datashape=0.5.4.post005+dhirschfeld.ga867aae
Any chance we could get an update on this? @llllllllll
My current (end-user) experience is:
So for me and anyone else using foreign keys in their databases the primary distribution channel for datashape is currently a branch in dhirschfeld's fork of the github repository.
Thanks for the ping, this change looks good.
This PR simply keeps the key, ignoring the mapped (foreign-key) table. The idea being that a lossy conversion is better than throwing an exception and the user can always incorporate the foreign-key table if that's what they want by doing an explicit join beforehand.
Attn: @llllllllll (blaze/odo#534)