Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
ENH: sql support with SQLAlchemy - follow-up #6292
Comments
jorisvandenbossche
referenced
this issue
Feb 6, 2014
Closed
ENH: sql support via SQLAlchemy, with legacy fallback #5950
jreback
added SQL Testing Dtypes
labels
Feb 7, 2014
jreback
added this to the
0.14.0
milestone
Feb 7, 2014
This was referenced Feb 7, 2014
tony
commented
Feb 8, 2014
|
@jorisvandenbossche: Is there a minimum sqlalchemy version this is targeting? Edit: I see v0.8.1 (https://github.com/pydata/pandas/pull/5950/files#diff-f2202167afc438a107cf9f73ac4f9fb1R98). It may be helpful to know if it's a requirement / recommendation. If it's a larger project and the sqlalchemy version is locked and Pandas can be upgraded, they may still want to know if it's possible for them to utilize this at an older version. |
|
@tony this should work for pretty much all versions of SQLAlchemy; it uses mainly the connection features |
jreback
referenced
this issue
in yhat/pandasql
Feb 20, 2014
Closed
API: pandas 0.14 will have some sql API changes #19
stonebig
commented
Mar 5, 2014
|
Hello, With the new sql interface, will the 'classic' DB2API still works with params of a sql being a dictionnary ? typical example = "execute('SELECT * FROM ATABLE WHERE AFIELD=%(x)s', {'x':x})" |
|
I added 'read and write a I (finally) have a need to use SQL so I'm going to be using sqlalchemy and the new pandas sql stuff pretty extensively in the next few weeks. I'll report what I find. Doing a |
|
@TomAugspurger Super! Certainly report (and fix? :-) everything, bugs, annoyances, suggestions. There are still a lot of issue to report and fix. @stonebig I think so. Would you be able to test it with? |
This was referenced Mar 13, 2014
|
if you can move residual issues that are not likely to be closed in 0.14 to 0.14.1 (or later) release notes / v0.14.0.txt needed as well not pushing, but lmk when you think you are 'ready' enough on this |
|
@jreback I will try to finish some things of this thursday of friday. Is that OK? |
|
sure thxs |
jorisvandenbossche commentedFeb 6, 2014
#5950 is now merged! (Thanks to @mangecoeur)
But there were still some issue to flesh out/fix:
functional api (read_table/read_sql)(fixed in #6867)other public functions? (execute, has_table)`(see #6300 and #6987)MySQL was taken out of the 2.7 build, for some reason was failing the build process: 043d165, and failure here (see install.sh): https://travis-ci.org/jreback/pandas/jobs/18477137 (note Joris: I think this is OK now with pymysql)
OperationsError(e.g. have PyMySQL installed but server is not running) -> #6651columnsargument inread_tablenot workingitertuplesrather thaniterrows#6509MultiIndex(soindex_colshould take a list as well as a scalar) (fixed in #6735)There is also a todo list in pydata#4163, but I thought it is cleaner to start a new one (but maybe we should copy some over).
Complement the list if you think of others!