环境:
python3.5.1
节俭0.11.0
节俭的sasl 0.3.0
节俭的0.3.9
impyla 0.14.2.2
我的代码:
---------------------------------
bill_no | item_no | item_quantity
1001 | 3 | 5
1001 | 15 | 1
1001 | 7 | 3
1001 | 1 | 10
---------------------------------
错误消息:
from impala.dbapi import connect
from impala.util import as_pandas
icon=connect(host='bd-slave07-pe2.f.com',port=21050,user='username',auth_mechanism='GSSAPI', password='psd')
cs = icon.cursor();
cs.execute('select * from store_dw_des.dw_loc_sku_day_actual_e_business limit 100')
df = as_pandas(cs)