我正在研究Snowflake研讨会实验教程。我已经达到7.2.4 / 7.2.5。
7.2.4中的查询执行正常:
groovy.lang.MissingPropertyException: No such property: _ for class: groovy.lang.Binding
at groovy.lang.Binding.getVariable(Binding.java:63)
at org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SandboxInterceptor.onGetProperty
但是在7.2.5中的查询会出现错误:
set query_id = (
select query_id
from table(information_schema.query_history_by_session (result_limit=>5))
where query_text like 'update%' order by start_time limit 1
);
给出的错误是:
create or replace table trips as (
select * from trips before (statement => $query_id)
);
对这里出什么问题有任何想法吗?