Closed thiagodeschamps closed 2 years ago
Hi @thiagodeschamps, I've just checked the doc and the variable is mandatory when you apply a filter: https://docs.soda.io/soda-sql/filtering.html I'm wondering if adding a feature to handle static filter (without variable) could be a good thing, what do you think @vijaykiran ?
Yes, that makes sense!
Describe the bug: Soda scan fails when filter is used and no variables are passed, even thought the filter itself does not require any variable. To Reproduce Steps to reproduce the behavior:
scan.yml
with a filter clause, likedate(process_time) = '2022-01-20'
soda scan warehouse.yml scan.yml
Context
OS: Ubuntu 20.04.3 LTS Python Version: 3.8.10 Soda SQL Version: soda-sql-bigquery (2.1.2) Warehouse Type: BigQuery