工作表滤波器只能在雪中通过条款在哪里或小组中使用?薄片
我想将在过滤器中选择的值用作返回的列。
例如,
SELECT :MyFilter;
我会收到以下错误:
No valid expression found for :Subscription. Expecting "<expression> = :MyFilter" (line 1)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能需要声明局部变量,从以下内容分配值:myFilter,然后在查询中使用。请参阅以下参考:
You may need to declare a local variable, assign it the value from :MyFilter, and then use in your query. See the following reference: https://docs.snowflake.com/en/developer-guide/snowflake-scripting/variables.html#working-with-variables