- Move
normalized_msgpack()
fromtdclient.api
totdclient.util
module (#79) - Add
tdclient.util.create_msgpack()
to support creating msgpack streaming from list (#79)
- Fix
wait_interval
handling forBulkImport.perform
appropriately (#74) - Use
io.TextIOWrapper
to prevent"x85"
issue creating None (#77)
- Drop Python 2 support (#60)
- Remove deprecated functions as follows (#76):
TableAPI.create_item_table
UserAPI.change_email
,UserAPI.change_password
, andUserAPI.change_my_password
JobAPI.hive_query
, andJobAPI.pig_query
- Support
TableAPI.tail
andTableAPI.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_at
andend_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_tables
now 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_time
anduser_name
from/v3/schedule/list
API (#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
start
is 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_delay
in retry messages
- Fix bugs in
ScheduledJob
andSchedule
models
- Fix
OverflowError
on 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
,result
andkill
. - Add a property
result_schema
toJob
model to provide the schema of job result - Improve the bulk import model. Add a convenient method named
upload_file
to 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_requests
is set toTrue
(#5) - Show warnings if imported data don't have
time
column
- 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
certifi
to verify SSL certificates if it is available.
- Fix support for Windows environments
- Fix byte encoding problem in
tdclient.api.API#import_file
on 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#wait
when 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_file
to allow importing data from file-like object or an existing file on filesystem. - Fix an encoding error in
tdclient.api.import_data
on Python 2.x - Add missing import to fix broken
tdclient.model.Job#wait
- Use
td.api.DEFAULT_ENDPOINT
for all requests
- Support PEP 343 in
tdclient.Client
and removecontextlib
from example - Add deprecation warnings to
hive_query
andpig_query
oftdclient.api.API
- Add
tdclient.model.Job#id
as an alias oftdclient.model.Job#job_id
- Parse datatime properly returned from
tdclient.Client#create_schedule
- Changed
tdclient.model.Job#query
as 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
wait
andkill
intdclient.model.Job
- Change the "Development Status" from Alpha to Beta
- Initial public release