呼叫o188.showString时发生错误

时间:2019-05-31 12:01:58

标签: apache-spark hive pyspark jupyter-notebook

我正在Pyspark内核中运行配置单元查询,但出现错误

“调用o188.showString时发生错误”

df_tic = hiveContext.sql("""select t.*,j.*
from  efms_gold.ms_task t join efms_gold.ms_job j 
on t.wf_job_id =  j.wf_job_id
where t.name RLIKE 'Error|Correct|Create AOTS Ticket' 
and t.  ORIGINAL_START_DATE is not null 
and j.entered_date 
between  date_sub(current_date(),12) and date_sub(current_date(),10)""")

运行df_tic.show(1)后出现以下错误

An error occurred while calling o188.showString.
: org.apache.spark.sql.catalyst.errors.package$TreeNodeException: execute, tree:
Exchange hashpartitioning(wf_job_id#905, 200)
+- *(1) Filter (((isnotnull(name#907) && name#907 RLIKE Error|Correct|Create AOTS Ticket) && isnotnull(ORIGINAL_START_DATE#913)) && isnotnull(wf_job_id#905))
   +- HiveTableScan [ms_task_id#904, wf_job_id#905, wf_task_id#906, name#907, template_name#908, scheduled_interval#909, display_name#910, .....

0 个答案:

没有答案