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
61 stars 16 forks source link

Naming of a custom SQL metrics does seem inconsistent when updating Soda Cloud #346

Open albinkjellin opened 2 years ago

albinkjellin commented 2 years ago

Describe the bug When trying to name a Custom SQL metric its very convoluted. There is only one example in the docs for failed_rows and from time to time this does not seem to work either. This might only be missing documentation. Its also unclear what type should be used in order to get this to work. Probably type should not be mandatory to change the name?

To Reproduce Steps to reproduce the behavior:

  1. Create a new test in scan.yml
  2. Run soda scan ... 3 ...

Context Include your scan.yml or warehouse.yml when relevant

OS: Python Version: Soda SQL Version: 2.1.9 Warehouse Type: SQL Server

albinkjellin commented 2 years ago

For example this does not update the name of the monitor in Soda Cloud: sql_metrics: