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

odps的DataFrame怎么写入odps表的某个partition,有没有接口啊? #41

Closed thesby closed 6 years ago

thesby commented 6 years ago

我使用了DataFrame完成了计算,但是怎么把结果写入表的某个partition呢?

qinxuye commented 6 years ago

http://pyodps.readthedocs.io/zh_CN/latest/df-basic-zh.html#odps

支持的,用

df.persist('your_table_name', partition='ds=***')

即可