我试图通过python代码将查询插入到redshift中。它抛出以下错误。
workflow_dev =#insert into onyx.result_table(uid,ruleid,date,first_query_result,second_query_result,difference,rule_success_or_fail)values('',1,“2016-11-08 06:56:49.664711”,0,0, '',真正); 错误:result_table中不存在“2016-11-08 06:56:49.664711”列
下面是表格结构:
workflow_dev =#select * from result_table; uid | ruleid |日期| first_query_result | second_query_result |差异| rule_success_or_fail ----- + -------- + ------ + -------------------- + ------- -------------- + ------------ + ---------------------- (0行)
colomn有日期字段。但即便是抛出错误。任何人都可以帮忙吗?