Jing Wang
beb95cde43
Work around pip casing issues in `pip install pyhive[...]`
...
Fixes #129
2017-07-07 22:13:00 -07:00
devin stevenson
ae3c9a9645
add http basic auth if password in connection string ( #117 )
...
Enables the use of providing credentials to Presto server via BasicAuth
add password keyword arg to Cursor
If password provided add AUTHORIZATION header to request via requests.HTTPBasicAuth
force HTTPS protocol when using password with BasicAuth
2017-05-11 15:53:57 -07:00
Matthew Wardrop
a0f470ed17
Add support for pushing dataframes to Presto databases.
...
Closes #112
2017-05-10 16:03:01 -07:00
Jing Wang
0737803abb
Add regression test for nulls in one_row_complex and fix Presto null binary
2017-05-10 15:48:45 -07:00
Devin Stevenson
39249dc0c9
Fix HiveDecimal bug for None and parse password to conn
...
Closes #115
2017-05-05 14:49:15 -07:00
Jing Wang
484c7df48c
Clarify Presto/Hive in README
2017-05-01 13:00:49 -07:00
Andreas Lang
cd144b198d
Work around Hive/Spark SHOW SCHEMAS incompatibility
...
Spark returns a different column name (databaseName instead of database_name), but for both spark and hive the first column contains the database name (#109 )
2017-05-01 12:55:26 -07:00
Jing Wang
34f3c3db92
v0.3.0
2017-04-22 19:46:10 -07:00
Jing Wang
aacb747615
Update README to mention Python 3
2017-04-22 19:46:10 -07:00
Jing Wang
c0e266b083
Test fixes
...
- add a build that dynamically pulls latest packages
- pin CDH in all other builds
- move more of setup to script so it's easier to test outside Travis
- move Hive warehouse to a persistent directory
- switch hive-cdh5 with hive-hadoop2, since the former is deprecated
- sleep after metastore installation to fix CDH 5.11 build
- fix compatibility with latest Presto
2017-04-22 16:55:50 -07:00
Matthew Wardrop
e3ecad1e41
Add Python 3 support for Hive, and update HiveServer2 thrift bindings.
...
Closes #101
2017-04-20 16:28:09 -07:00
Jing Wang
3c58de4104
Pin Hive to CDH 5.10 because test setup is currently broken on CDH 5.11
2017-04-20 15:47:24 -07:00
Eric Lo
cd00b0efcb
ParamEscaper Enhancement
...
Added func `escape_sequence` in ParamEscaper, in order to support sequence type (list, tuple, set, frozenset) in query params.
Now we can do WHERE-IN query like:
```py
db_cursor.execute("SELECT * FROM table1 WHERE column IN %s", parameters=(['foo', 'bar'],))
```
Closes #98
2017-04-04 21:05:24 -07:00
Junxian Wu
59746c31f1
Kerberos services and more sasl authorization mechanism support
...
Closes #70
2017-03-31 23:09:35 -07:00
Jing Wang
507867d940
Simplify Hive syntax in test setup
2017-03-30 22:13:07 -07:00
Jing Wang
574f981062
Delete obsolete mirror workaround from CDH4
2017-03-30 21:59:33 -07:00
Jing Wang
ad962283c6
Test on latest python
2017-03-29 15:36:11 -07:00
Jing Wang
293cfacc0f
Fix failure in test_cancel
2017-03-29 15:21:33 -07:00
Paul Sutherland
498326c837
Add option to specify protocol as http or https
...
Closes #86
2017-03-16 17:25:00 -07:00
Frank Bertsch
a37bf7a9e1
Add presto query cancellation
...
Closes #83
2016-10-21 17:57:22 -07:00
Jing Wang
f1baf4043f
Time out frozen tests
2016-08-01 21:22:56 -07:00
Jing Wang
12c24b7dff
Pin test dependencies to work around build freezing on pytest-flake8==0.6
2016-08-01 18:42:49 -07:00
Jing Wang
b37339d42a
Delete dead Presto 0.97 test logic
2016-07-13 15:19:16 -07:00
Jing Wang
bf28138d07
Add contributing instructions
2016-07-13 15:17:47 -07:00
shashank
896fa9549e
column name reference replaced with integer index for table name
2016-07-07 15:30:27 -07:00
Jing Wang
7b0ecc5739
v0.2.1
2016-06-24 10:30:39 -07:00
Raghav Sharma
3c9dba2080
Add to type map
...
Closes #59
2016-06-23 18:24:25 -07:00
Raghav Sharma
c84d3f62c8
Upgrade Presto from 0.142 to 0.147
...
Closes #54
2016-06-22 13:25:23 -07:00
Tarek Rached
06a9b84b24
add presto timestamp and date types
...
Closes #58
2016-06-21 10:37:52 -07:00
Jing Wang
e4a090b268
Silence new lint error
2016-06-21 10:25:47 -07:00
Jing Wang
276e272821
Fix null parameters
...
Closes #55
2016-06-07 20:40:47 -07:00
Jing Wang
5b846ed921
v0.2.0
2016-06-01 18:16:46 -07:00
Jing Wang
23780bda20
Add changelog to README
2016-06-01 18:16:04 -07:00
Jing Wang
b34bdbf513
Upgrade protocol version (requires Hive 0.13)
...
This improves efficiency by about an order of magnitude and works around HIVE-10646.
Also standardize on returning tuples for consistency with SQLAlchemy.
2016-06-01 10:18:12 -07:00
Jing Wang
472d4ed7ad
Fix table existence test flake
...
SQLAlchemy isn't consistent about wrapping the exception
2016-05-31 21:44:29 -07:00
Jing Wang
ff9a3c3a6d
Remove CDH 4 and old SQLAlchemy test support
...
CDH 4 is EOL
https://www.cloudera.com/legal/support-lifecycle-policy.html
2016-05-31 15:56:21 -07:00
Pau Tallada CrespΓ
b9973d180b
Allow asynchronous query execution, log fetching and query cancellation.
...
Closes #48
2016-05-27 20:24:45 -07:00
Pau Tallada CrespΓ
1193601c6a
Update Thrift bindings to Hive 1.2.1.
2016-05-27 19:55:01 -07:00
Jing Wang
ba5859dba9
More verbosity
2016-05-27 19:54:08 -07:00
Jing Wang
a134942551
Add flake8
2016-05-21 16:17:49 -07:00
Jing Wang
f87469058b
v0.1.8
2016-05-18 19:21:06 -07:00
Matthew Wardrop
7168c6f77d
Initial support for Python 3 with Presto.
...
Closes #45
(modified by jingw)
2016-04-11 18:59:28 -07:00
Jing Wang
f5b29d5d16
Add Presto session properties to README
2016-03-30 20:01:54 -07:00
EthanLiou
1ea83edb01
support NOSASL authentication
...
Closes #46
2016-03-30 19:42:11 -07:00
Jing Wang
693dff1c14
v0.1.7
...
(This commit looks like it skips v0.1.6 because v0.1.6 was inconsistently branched off of master)
2016-03-29 00:02:43 -07:00
Jing Wang
7674d41708
Add test for session properties
2016-03-21 18:07:30 -07:00
Claudio Freire
b177001a48
Fix session properties handling
2016-03-21 18:04:19 -07:00
Jing Wang
9a93f85538
Test against newer packages and fix test issues
...
- Loosen regex. Newer presto has "line 1:1: " in the beginning of the message
- Fix <> vs ()
- add sleep hack
- fix skip on insert test
2016-03-21 16:29:25 -07:00
Claudio Freire
a2866ab1e5
Fix reflection in Presto 0.136
...
Null isn't there anymore (in fact all columns are nullable),
and Partition Key is gone as well, replaced by the string
"Partition Key" in the Comment column
2016-03-21 16:27:52 -07:00
Ivan Marin
ea01946cf7
readme clarification
...
Closes #37
2016-01-14 11:29:49 -08:00