如何处理或调试此红移错误代码15004?

发布于 2025-02-05 18:53:16 字数 563 浏览 3 评论 0原文

红移以很少的方式从气流dag执行的常规查询中抛出了此错误,例如:

SELECT * FROM schema_name.table_name
            WHERE date_field = '2022-06-02'
            AND category_field ilike '%category_name%';

DETAIL:  
  -----------------------------------------------
  error:  Redshift format: AQUA Scan Error: File not found
  code:      15004
  context:   Block not found.
  query:     91201921
  location:  dory_util.cpp:1226
  process:   worker_thread [pid=88882]

我在互联网上找不到任何相关的内容,也没有AWS RedShift文档。

我正在使用pythonoperator,其中包括Postgres钩子。 更新编辑以回答Pankaj

In an infrequent way, Redshift throws this error executing from an Airflow DAG a regular query like:

SELECT * FROM schema_name.table_name
            WHERE date_field = '2022-06-02'
            AND category_field ilike '%category_name%';

DETAIL:  
  -----------------------------------------------
  error:  Redshift format: AQUA Scan Error: File not found
  code:      15004
  context:   Block not found.
  query:     91201921
  location:  dory_util.cpp:1226
  process:   worker_thread [pid=88882]

I dont find anything related on internet nor the aws redshift docs.

I'm using the PythonOperator, with the postgres hook.
Update edit to answer to Pankaj

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文