sodadata / soda-sql

Soda SQL and Soda Spark have been deprecated and replaced by Soda Core. docs.soda.io/soda-core/overview.html
https://docs.soda.io/
Apache License 2.0
60 stars 15 forks source link

[cloud] add optional dataset_name to scan YML #339

Closed vijaykiran closed 2 years ago

vijaykiran commented 2 years ago

Scan YML can optionally contain dataset_name which will be used to send to the Soda Cloud.

Given the following Scan YAML:

table_name: dim_account
dataset_name: TEST-{{ dataset_counter }}
metrics:
  - row_count
tests:
  - row_count > 0

When scan is run with: soda scan warehouse.yml dim_account.yml -v dataset_counter=42 the cloud will see the dataset name as TEST-42

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.