Getting the query id from the cursor

未关闭
#268 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
aws, python
领域
databases

调研方向

比较 dbt-redshift connections.py 中 Redshift 连接的使用方式与 dbt-snowflake cursor.py 中所引用的游标实现。跟踪 Redshift 游标的创建方式,以及查询执行在哪些位置暴露元数据;完成的标准是调用方无需执行单独的查询,即可从游标获取 query id,用于取消操作和应用程序日志记录。

由索引模型根据 Issue 内容生成。

描述

Hi - would it be possible to get the query id from the cursor instead of needing to run a separate query? Right now we have to make a separate call when we want to cancel the running query like this and would also like to easily log query ids in our application logs for customer debugging.

This is something that we get from snowflake but doesn't look like I can get it from the cursor here.

主要语言
Python
星标
220
派生
86
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aws/amazon-redshift-python-driver 的其他 Issue

查看 aws/amazon-redshift-python-driver 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。