- Move
normalized_msgpack()fromtdclient.apitotdclient.utilmodule (#79) - Add
tdclient.util.create_msgpack()to support creating msgpack streaming from list (#79)
- Fix
wait_intervalhandling forBulkImport.performappropriately (#74) - Use
io.TextIOWrapperto prevent"x85"issue creating None (#77)
- Drop Python 2 support (#60)
- Remove deprecated functions as follows (#76):
TableAPI.create_item_tableUserAPI.change_email,UserAPI.change_password, andUserAPI.change_my_passwordJobAPI.hive_query, andJobAPI.pig_query
- Support
TableAPI.tailandTableAPI.change_database(#64, #71) - Introduce documentation site (#65, #66, #70, #72)
- Remove ACL and account APIs (#56, #58)
- Fix PyOpenSSL issue which causes pandas-td error (#59)
- Change msgpack-python to msgpack (#50)
- Dropped 3.3 support as it has already been EOL'd (#52)
- Set urllib3 minimum version as v1.24.1 (#51)
- Avoided to declare library dependencies too tightly within this project since this is a library project (#42)
- Got rid of all configurations for Python 2.6 completely (#42)
- Added 3.6 as test target. No functional changes have applied since 0.11.0 (#41)
- Support missing parameters in JOB API (#39, #40)
- Ignore empty string in job's
start_atandend_at(#35, #36)
- Add validation to part names for bulk upload
- Fix unicode encoding issues on Python 2.x (#27, #28, #29)
- Fix for tdclient tables data not populating
TableAPI.list_tablesnow returns a dictionary instead of a tuple
- Generate universal wheel by default since there's no binary in this package
- Add missing support for
created_timeanduser_namefrom/v3/schedule/listAPI (#20, #21) - Use keyword arguments for initializing model attributes (#22)
- Prevent retry after PUT request failures. This is the same behavior as https://github.com/treasure-data/td-client-ruby (#16)
- Support HTTP proxy authentication (#17)
- Catch exceptions on parsing date time string
- Fix Data Connector APIs based on latest td-client-ruby's implementation (#14)
- Avoid an exception raised when a
startis not set for a schedule (#12) - Fix getting database names of job objects (#13)
- Add Data Connector APIs
- Add deprecation warnings on the usage of "item tables"
- Show
cumul_retry_delayin retry messages
- Fix bugs in
ScheduledJobandSchedulemodels
- Fix
OverflowErroron importing integer value longer than 64 bit length which is not supported by msgpack specification. Those values will be converted into string.
- Add Python Database API (PEP 0249) compatible connection and cursor.
- Add varidation to the part name of a bulk import. It should not contain '/'.
- Changed default wait interval of job models from 1 second to 5 seconds.
- Fix many potential problems/warnings found by landscape.io.
- Set default timeout of API client as 60 seconds.
- Change the timeout of API client from
sum(connect_timeout, read_timeout, send_timeout)tomax(connect_timeout, read_timeout, send_timeout) - Change default user-agent of client from
TD-Client-Python:{version}toTD-Client-Python/{version}to comply RFC2616
- Improve the job model. Now it retrieves the job values automatically after the invocation of
wait,resultandkill. - Add a property
result_schematoJobmodel to provide the schema of job result - Improve the bulk import model. Add a convenient method named
upload_fileto upload a part from file-like object. - Support CSV/TSV format on both streaming import and bulk import
- Change module name;
tdclient.model->tdclient.models
- Fix API client to retry POST requests properly if
retry_post_requestsis set toTrue(#5) - Show warnings if imported data don't have
timecolumn
- Fixed a JSON parse error in
job.result_format("json")with multipe result rows (#4) - Refactored model classes and tests
- Stopped using syntax added in recent Python releases
- Fix SSL verification errors on Python 2.7 on Windows environment.
Now it uses
certifito verify SSL certificates if it is available.
- Fix support for Windows environments
- Fix byte encoding problem in
tdclient.api.API#import_fileon Python 3.x
- Support specifying job priority in its name (e.g. "NORMAL", "HIGH", etc.)
- Convert job priority number to its name (e.g. 0 => "NORMAL", 1 => "HIGH", etc.)
- Fix a broken behavior in
tdclient.model.Job#waitwhen specifying timeout - Fix broken
tdclient.client.Client#database()which is used fromtdclient.model.Table#permission() - Fix broken
tdclient.Client.Client#results()
- Fix local variable scope problem in
tdclient.api.show_job(#2) - Fix broken multiple assignment in
tdclient.model.Job#_update_status(#3)
- Add new data import function of
tdclient.api.import_fileto allow importing data from file-like object or an existing file on filesystem. - Fix an encoding error in
tdclient.api.import_dataon Python 2.x - Add missing import to fix broken
tdclient.model.Job#wait - Use
td.api.DEFAULT_ENDPOINTfor all requests
- Support PEP 343 in
tdclient.Clientand removecontextlibfrom example - Add deprecation warnings to
hive_queryandpig_queryoftdclient.api.API - Add
tdclient.model.Job#idas an alias oftdclient.model.Job#job_id - Parse datatime properly returned from
tdclient.Client#create_schedule - Changed
tdclient.model.Job#queryas a property since it won't be modified during the execution - Allow specifying query options from
tdclient.model.Database#query
- Fix broken PyPI identifiers
- Update documentation
- Improve the verification of SSL certificates on RedHat and variants
- Implement
waitandkillintdclient.model.Job - Change the "Development Status" from Alpha to Beta
- Initial public release