Getting the query id from the cursor
还没有人认领这个 Issue。
评估
调研方向
比较 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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aws/amazon-redshift-python-driver 的其他 Issue
-
难度 1/5 1-3 小时 新手友好度 74/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 5/5 一周以上 新手友好度 35/100
aws/amazon-redshift-python-driver#265 · 1 条评论 · 4 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 45/100
-
难度 2/5 1-3 小时 新手友好度 48/100
aws/amazon-redshift-python-driver#260 · 5 条评论 · 2 个 reaction ·
查看 aws/amazon-redshift-python-driver 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main 未关闭area: ci bug perceived difficulty: 3
难度 2/5 1-3 小时 新手友好度 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
-
难度 2/5 1-3 小时 新手友好度 78/100
ClickHouse/clickhouse-connect#1057 ·