Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
/ soda-sql Public archive

Soda SQL and Soda Spark have been deprecated and replaced by Soda Core. docs.soda.io/soda-core/overview.html

License

Notifications You must be signed in to change notification settings

sodadata/soda-sql

Repository files navigation

Soda SQL and Soda Spark have become Soda Core

Soda SQL and Soda Spark are deprecated in favor of Soda Core and the Soda Checks Language. If you are new to Soda, start with Soda Core!

Soda logo

Data testing, monitoring, and profiling for SQL-accessible data.

License: Apache 2.0 Slack Pypi Soda SQL Build soda-sql



Install Soda SQL from the command-line
✔ Access comprehensive Soda SQL documentation
✔ Compatible with Snowflake, Amazon Redshift, BigQuery, and more
Write tests in a YAML file
Run programmatic scans to test data quality

Example scan YAML file (Deprecated)

table_name: breakdowns
metrics:
  - row_count
  - missing_count
  - missing_percentage
...
# Validates that a table has rows
tests:
  - row_count > 0

# Tests that numbers in the column are entered in a valid format as whole numbers
columns:
  incident_number:
    valid_format: number_whole
    tests:
      - invalid_percentage == 0

# Tests that no values in the column are missing
  school_year:
    tests:
      - missing_count == 0

# Tests for duplicates in a column
  bus_no:
    tests:
      - duplicate_count == 0

# Compares row count between datasets
sql_metric: 
  sql: |
    SELECT COUNT(*) as other_row_count
    FROM other_table
  tests:
    - row_count == other_row_count

Install (Deprecated)

Contributors ✨

Thanks goes to these wonderful people! (emoji key)


Vijay Kiran

💻

abhishek khare

💻

Jelte Hoekstra

💻 📖

Cor

💻 📖

Milan Aleksić

🚇

Ayoub Fakir

💻

Alex Tonkonozhenko

💻

Todd de Quincey

💻

Antonin Jousson

💻

Jonas

🚇

cwouter

💻

Janet R

📖

Bastien Boutonnet

💻

Tom Baeyens

💻

AlessandroLollo

💻

mmigdiso

💻

ericmuijs

💻

Lieven Govaerts

💻

Milan Lukac

💻

Sebastián Villarroel

💻

Benjamin Berriot

💻

Alexey Minakov

💻

This project followed the all-contributors specification.

Open Telemetry Tracking (Deprecated)

Soda SQL collects statistical usage and performance information via the Open Telemetry framework. This information helps the Soda Core developer team proactively track performance issues and understand how users interact with the tool.

The collected information is strictly limited to usage and performance and does not contain Personal Identifying Information (PII). It is used for internal purposes only. Soda keeps the data in its raw form for a maximum of five years. If some information needs to be kept for longer, it will only be kept in aggregated form.

Read more about the information Soda tracks, and learn how to opt-out of tracking by consulting the Anonymous usage statistics documentation.

About

Soda SQL and Soda Spark have been deprecated and replaced by Soda Core. docs.soda.io/soda-core/overview.html

Resources

License

Stars

Watchers

Forks

Languages