我执行脚本,错误如下图:我下面这样运行的时候就报错了,然后把里面的语句抓出来单独跑,没有报错:
原脚本太长了还有很多数据文件,我尝试一个简单的:
t = table(1..5 as id ,`a`b`c`c`c as b,`a1`b1`c1`c1`c2 as c,```2`2`2 as d) share t as shared_t def update_data() { shared_t = exec * from shared_t; } update_data()
把shared_t = exec * from shared_t;单独拿出来跑是不会报错的