Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

121 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Jing Wang 85a0e3f76e Add Hive/Hadoop configuration instructions to README 2016-01-13 14:19:05 -08:00
Jing Wang 13e2cbfbde Add travis / codecov 2015-09-20 21:19:57 -07:00
Jing Wang e59efae777 Replace more tabs with 8 spaces 2015-09-04 19:37:05 -07:00
Jing Wang b36ce45946 Replace tabs with 8 spaces
Closes #26
2015-09-04 13:43:05 -07:00
Jing Wang e8b9aa5609 Add syntax for extras to README 2015-08-24 17:28:34 -07:00
Jing Wang 2e56bffd24 thrift_sasl has a PyPI package now, so bundle it 2015-08-24 16:52:37 -07:00
Alexander Leibzon 6dd846e49a add tcliservice
Closes #25
2015-08-24 16:38:40 -07:00
Wu Xiang 13f33ccc20 PrestoDialect needs 'supports_native_boolean = True' 2015-08-10 16:57:24 +08:00
Jing Wang e361b2732a Fix char_length function
Presto and Hive call this length instead of char_length

Closes #20
2015-04-02 17:50:08 -07:00
Phillip Cloud c86eb5ef4d add TABLE to insert statements
Closes #17

NOTE(jing): reworked the original PR a fair amount
2015-03-25 17:25:50 -07:00
Jing Wang 31ac10c0be Standardize test DB 2015-03-25 17:22:00 -07:00
Jing Wang bcb80a7fa1 v0.1.5 2015-03-23 00:12:28 -07:00
Jing Wang 44f9a76228 Add a note on status of query generation 2015-03-23 00:11:18 -07:00
Jing Wang 837319342c Add tests and fix some omissions/bugs 2015-03-23 00:07:02 -07:00
Jing Wang d4d67e2159 Make SQLAlchemy quote all identifiers so we don't have to maintain a blacklist
Closes #18
2015-03-22 21:50:54 -07:00
Jing Wang c2f7569e8c Randomize tests 2015-03-22 21:35:25 -07:00
Jing Wang d265030850 Update tests to pass against Presto 0.98
The backwards incompatible result format change was first introduced in 0.77. We're choosing to pass through upstream's change instead of shimming around it.
2015-03-22 21:22:22 -07:00
Jing Wang f679428af3 Delete SQLAlchemy test suite integration - more trouble than it's worth 2015-03-22 21:12:53 -07:00
Jing Wang 7c1c475336 v0.1.4 2015-01-31 13:33:01 -08:00
Jing Wang e027291552 Fix Presto table reflection 2015-01-31 13:33:01 -08:00
Jing Wang 6589bb142b Add default port/catalog to Presto dialect 2015-01-31 13:32:56 -08:00
Jing Wang 68f83dfded Add install instructions to README
Closes #13
2015-01-31 12:44:10 -08:00
Benjamin Zaitlen 9459dc838e handle view=True on reflect
Previously, `metadata.reflect(view=True)` would result in a `NotImplementedError`.  Hive -- as far as I can tell -- does not provide *good* methods of querying [tableType](http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1.2/hive_javadocs/metastore/index.html?org/apache/hadoop/hive/metastore/TableType.html):
- EXTERNAL_TABLE
- INDEX_TABLE
- MANAGED_TABLE
- VIRTUAL_VIEW

This PR punts to `SHOW TABLES` but allows for [into](6d84b70cf2/into/backends/sql.py (L95)) to include `views=True` when inspecting databases and database like Engines: Hive/Impala

Closes #11
2015-01-31 12:36:22 -08:00
Benjamin Zaitlen aeefaebdbb adding defaults into sql dialect
Closes #12
2015-01-31 12:33:52 -08:00
Jing Wang 5093bb8036 v0.1.3 2015-01-06 01:43:50 -08:00
Matthew Rocklin 3a6ad95058 add HiveDate datatype 2015-01-05 10:29:55 -08:00
Matthew Rocklin 80a2644897 Set HiveTimeStamp.impl to types.TIMESTAMP
Previously timestamps identified as VARCHAR due to the inheritance
from String
2015-01-05 10:29:11 -08:00
Daniel Tahara d58b3a85d2 Update presto reserved kw 2014-10-03 00:47:30 +00:00
Jing Wang 5aafee9fdf Fix tests to pass against Presto 0.76 and fix test setup issues
- Modify test script to make more databases
- Make tests pass against Presto 0.76
- Default to current user instead of hard-coded "hadoop" user
- Squash together Hive setup commands and use local JT to make tests faster
- Convert binary type from base64 to byte strings
2014-09-26 12:06:22 -07:00
Jing Wang 1f098a18e9 Fix title underline too short 2014-03-28 18:10:36 -07:00
Jing Wang ce75d3e23f Add SQLAlchemy's tests and fill in some features 2014-03-28 16:59:51 -07:00
Jing Wang d770514f85 Fill in bits of setup.py 2014-03-24 00:58:22 -07:00
Jing Wang 1b0616abd2 Switch to py.test 2014-03-24 00:47:30 -07:00
Jing Wang 2fde31f444 Add apache license 2014-03-07 12:11:32 -08:00
Jing Wang 8c21ada67c Customize Hive illegal characters 2014-03-04 14:46:29 -08:00
Jing Wang 47165ffe93 Promote query logging to INFO 2014-02-20 11:34:42 -08:00
Jing Wang d718ad6b81 Nitpick docs 2014-02-20 11:33:17 -08:00
Jing Wang fe023cbdb3 Allow polling the Presto cursor (non-standard) 2014-02-19 12:17:00 -08:00
Jing Wang b974754ae8 Allow cursors to execute another query before previous one finishes 2014-02-14 19:36:09 -08:00
Jing Wang 01eb74c808 Update tests to account for JSON change in 0.60 2014-02-14 15:48:39 -08:00
Jing Wang db3ef4089b Allow switching Hive database 2014-02-03 22:36:06 -08:00
Jing Wang 3eb0569856 Add test requirements file for use with pip install -r
Tweak readme
2014-02-03 14:23:18 -08:00
Jing Wang 782e0171c1 Add dbapi_type_map 2014-02-03 00:21:04 -08:00
Jing Wang 81d22a2c4f Pass query args to connect() and add source to Presto tests 2014-02-03 00:21:04 -08:00
Jing Wang e1fd70f825 Support unicode 2014-02-03 00:21:04 -08:00
Jing Wang 0728f50b19 Support newer SQLAlchemy 2014-02-03 00:21:03 -08:00
Jing Wang e324133ac9 Document quirk 2014-02-03 00:21:03 -08:00
Jing Wang ca41c403be Unicode everywhere 2014-02-03 00:21:03 -08:00
Jing Wang 9b315e1d11 Clarify docs 2014-02-03 00:21:03 -08:00
Jing Wang a4c3ca9061 Less hacky sqlalchemy registration
Loosen versions in setup.py
2014-02-03 00:21:03 -08:00