cur = con.cursor()
for i in sample:
cur.execute("select `count(*)`,cricking_duels_ratings,cast(`sysdate()` as CHAR) from {}".format(i))
res = cur.fetchall()
for row in res:
print(row)
ob = s3.Object(BUCKET_NAME, '/testing.csv')
ob.put(Body=row)
print("done")
当我尝试上述操作时,出现以下错误
'参数体的无效类型..type: , 有效类型: , , 类文件对象'
任何建议请..
汪汪一只猫
相关分类