aliyun / aliyun-odps-python-sdk

ODPS Python SDK and data analysis framework
http://pyodps.readthedocs.io
Apache License 2.0
434 stars 97 forks source link

Datetime range #110

Closed liyiheng closed 1 year ago

liyiheng commented 4 years ago

OverflowError: can't convert negative value to uint64_t

# Column(name='dt_before_1970', type='datetime')
record['dt_before_1970'] = '1966-06-06 00:00:00'
writer.write(record)

https://github.com/aliyun/aliyun-odps-python-sdk/blob/ae65e3f5efddb2e5fa85291844f2cc284c8b530a/odps/tunnel/io/writer_c.pyx#L266-L268

wjsi commented 1 year ago

Already fixed in the latest release.