Commit Graph

292 Commits (master)

Author SHA1 Message Date
Catherine Devlin eb274844b4
Oops, README is rst not md 2023-04-21 14:49:35 -06:00
Catherine Devlin e21bc64e17
Note legacy status 2023-04-21 14:46:44 -06:00
Catherine Devlin 4c4603c221 Merge branch 'drnushooz-sqlalchemy-20' 2023-02-25 23:58:34 -05:00
Catherine Devlin 25ef08c221 Explicitly require SQLAlchemy 2.0 2023-02-25 23:57:18 -05:00
Catherine Devlin f394d92981 - Use URL.create
- Stop testing for undocumented (now unavailable) dict-style access to rows
2023-02-25 23:35:44 -05:00
drnushooz 9fbf83baff Package upgrades and SQLAlchemy 2.0 compatibility 2023-02-01 16:23:25 -08:00
Catherine Devlin cc4633cd33
Not compatible with SQLAlchemy 2 2022-11-15 19:09:35 -05:00
Catherine Devlin 07f48920c1 update NEWS for release 2022-06-11 23:14:20 -05:00
Catherine Devlin 86117c4b87
Merge pull request #206 from thedataincubator/parse-newlines
Avoid replacing newlines with spaces early in the query
2022-06-11 22:23:04 -05:00
Catherine Devlin 59de1b6810
Merge pull request #213 from kianmeng/fix-typos
Fix typos
2022-06-11 14:56:42 -05:00
Catherine Devlin 8f38fdfdfb Merge branch 'master' of https://github.com/catherinedevlin/ipython-sql 2022-06-11 14:55:43 -05:00
Catherine Devlin d981e7990b Merge branch 'techtonik-patch-1' 2022-06-11 14:55:36 -05:00
Catherine Devlin cb917b4e6c Merge branch 'patch-1' of https://github.com/techtonik/ipython-sql into techtonik-patch-1 2022-06-11 14:55:12 -05:00
Catherine Devlin b3c4035900
Merge pull request #193 from bapowell/master
Use connect_str, so loading from DSN file actually works
2022-06-11 11:18:00 -05:00
Catherine Devlin 24f13561f4 Merge branch 'meihkv-master' 2022-06-11 10:57:25 -05:00
Catherine Devlin df8f60cb42 Added test and acknowledgement 2022-06-11 10:56:52 -05:00
Catherine Devlin d856d915a2 Merge branch 'master' of https://github.com/meihkv/ipython-sql into meihkv-master 2022-06-11 10:34:55 -05:00
Catherine Devlin 3a6ff6f211 Merge branch 'jsalbr-master' 2022-06-10 11:53:16 -05:00
Catherine Devlin 57f05a49bd Merge branch 'master' of https://github.com/jsalbr/ipython-sql into jsalbr-master 2022-06-10 11:52:29 -05:00
Catherine Devlin faa26ee838 Merge branch 'master' of https://github.com/catherinedevlin/ipython-sql 2022-06-10 08:16:38 -05:00
Catherine Devlin bb64862303 Use ipython's own shell_expand
Fixes #194
2022-06-10 08:16:29 -05:00
Kian-Meng Ang 82db653a3d Fix typos 2022-06-02 22:43:47 +08:00
Catherine Devlin 9ffaeecd18
Merge pull request #195 from nicholaswold/master
Exclude bigquery dialect from autocommit
2022-05-02 17:51:32 -06:00
Catherine Devlin e3a49fabb3
Merge pull request #209 from andriyor/patch-1
add GitHub URL for PyPi
2022-05-02 17:47:10 -06:00
Andrii Oriekhov 705ab2b320 add GitHub URL for PyPi 2022-03-03 20:37:23 +02:00
Robert Schroll 55d415f352 Avoid replacing newlines with spaces early in the query
The parser split off the first three elements of the cell, to check
if they have a connection string or push the result to a variable.
But if these elements weren't found, the components were glued back
together with spaces.  If one of these components was a line comment,
it ends up commenting out more than it should.

This solution tries splitting off bits to see if they match the
expected form.  But if they don't, it goes back to using the pre-
split string, thus preserving the original whitespace.  This should
allow the connection string and redirect to appear after any number
of newline characters, as long as they are still the first non-
whitespace elements in the cell.
2022-01-25 18:27:29 -08:00
meihkv 53323bfa7d
remove pop descriptor 2021-10-14 14:53:05 -04:00
meihkv c461e00bb4
Merge branch 'catherinedevlin:master' into master 2021-10-14 14:47:16 -04:00
Nick Wold 63ff5ecf25
Merge branch 'master' into master 2021-07-07 11:46:20 -07:00
Catherine Devlin 12f9742a0a
Merge pull request #196 from clach04/patch-1
Actian Avalanche, Actian X, Ingres, and Vector support
2021-06-29 13:43:55 -04:00
clach04 a684573e60
Actian Avalanche, Actian X, Ingres, Vector, and support
Added ingres to the list of databases that are autocommit.

Sorted _COMMIT_BLACKLIST_DIALECTS tuple alphabetically.
2021-06-22 08:49:39 -07:00
Nicholas Wold 873893a387
Exclude bigquery dialect from autocommit 2021-05-26 17:03:19 -07:00
Jens Albrecht 805e428423 fix issue 194 2021-05-02 16:20:46 +02:00
Brad Powell 76cf5fc2b3 Use connect_str, so loading from DSN file actually works 2021-04-26 08:15:32 -05:00
Jens Albrecht e608279083 Added DatabaseError for MySQL 2021-04-23 08:18:43 +02:00
Jens Albrecht df087a8314 minor changes 2021-04-23 08:17:49 +02:00
Catherine Devlin ee7e209744
Merge pull request #179 from lebedov/enable-pgspecial-for-redshift
Enable use of PGSpecial for Redshift databases
2021-03-14 09:53:23 -04:00
Catherine Devlin 8f771d16f9
Merge pull request #180 from WisdomWolf/master
Minor Fixes for dsn.ini
2021-03-14 09:44:26 -04:00
Catherine Devlin 90c992eb47
Merge pull request #183 from bryanherger/master
Fix upstream issue 148 with vertica dialect
2021-03-14 09:43:39 -04:00
meihkv 8453277c0e
update descriptor 2021-02-02 17:00:01 -05:00
meihkv 7a6cd0c126
fix descriptor 2021-02-02 16:50:15 -05:00
meihkv 7e02748536
add descriptor parsing 2021-02-02 16:42:38 -05:00
meihkv a6bf3e4855
add classmethod to _close 2021-02-02 10:09:51 -05:00
bryanherger a2319fd866 Fix upstream issue 148
Fixes upstream https://github.com/catherinedevlin/ipython-sql/issues/148 by adding "vertica" to dialects with broken commit
2020-10-27 07:02:08 -04:00
WisdomWolf 0a5f9491a1 Fixes parsing config using bracketed section name 2020-09-25 14:47:12 -04:00
WisdomWolf 4a0ab2187f Corrects line breaks in README.rst 2020-09-25 14:15:14 -04:00
Lev E. Givon ae2b6755ef Enable pgspecial for redshift databases. 2020-09-23 09:36:08 -04:00
anatoly techtonik e58c03f62e
Fix PyPI recursion with URL to GitHub 2020-06-30 21:24:58 +03:00
Catherine Devlin b24ac6e941 Parse SQL comments in first line 2020-05-10 16:58:03 -04:00
Catherine Devlin 2f211cb98a rename NEWS.rst in MANIFEST.in, see #164 2020-05-09 08:36:40 -04:00