gpt4 book ai didi

snowflake-cloud-data-platform - 使用 SQL API 时,有没有办法检查查询是否已完成执行?

转载 作者:行者123 更新时间:2023-12-05 05:49:29 25 4
gpt4 key购买 nike

假设我有一个脚本,它使用内置的 SQL API 发送查询,并且它是异步运行的。有没有什么方法可以让 snowflake 通知我查询已经完成并准备好让我的脚本检索信息?

最佳答案

如文档中所述:

https://docs.snowflake.com/en/developer-guide/sql-api/guide.html#checking-the-status-of-the-statement-execution-and-retrieving-the-data

To check if the statement has finished executing, you must send a request to check the status of the statement.

所以我想您的问题的答案是否定的,Snowflake 不会在查询完成时通知用户。用户必须自行检查。

关于snowflake-cloud-data-platform - 使用 SQL API 时,有没有办法检查查询是否已完成执行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70660628/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com