Registry / data / soda-core-trino

soda-core-trino

JSON →
library3.5.6pypypiunverified

Soda Core Trino is an extension of Soda Core that integrates with Trino/Presto databases for data quality testing. It allows users to define and run checks (e.g., missing values, duplicates, schema changes) using SodaCL. Version 3.5.6 is the latest release. Release cadence is irregular, typically following Soda Core releases.

pip install soda-core-trino
INSTALL
IMPORT
SIG · SODA-CORE-TRINO
S
soda-core-trino
datapythonv3.5.6
Install
7.6s avg
Import
Disk
83MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v3.5.6 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 7.6s · import 0.000s · 84MB
83MB installed
● package 83MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Scan
from soda.scan import Scan
from soda.scan import Scan

Basic Soda scan against Trino with authentication from environment variables.

from soda.scan import Scan scan = Scan() scan.set_scan_definition_name('test') scan.set_data_source_name('my_trino') scan.add_configuration_yaml_str(f''' data_source my_trino: type: trino host: {os.environ.get('TRINO_HOST', 'localhost')} port: {os.environ.get('TRINO_PORT', '8080')} catalog: {os.environ.get('TRINO_CATALOG', 'tpch')} schema: {os.environ.get('TRINO_SCHEMA', 'sf1')} username: {os.environ.get('TRINO_USER', 'admin')} password: {os.environ.get('TRINO_PASSWORD', '')} ''') scan.add_sodacl_yaml_str(''' checks for orders: - row_count > 0 ''') scan.execute() print(scan.get_logs_text())
soda --version
Debug
Known issues
breakingIn Soda Core 3.x, the API changed significantly from 2.x. The Scan object replaced the old SodaServerClient. Direct imports of data source classes are deprecated.
fix
Use Scan object with configuration YAML or dictionary instead of importing data source classes directly.
affects: >=3.0.0
gotchaTrino password authentication requires SSL/TLS by default; if your cluster doesn't use SSL, set 'verify' to False in the config.
fix
Add 'verify: false' under the data source configuration or set environment variable SODA_VERIFY=false.
affects: all
gotchaThe Trino host and port must be reachable from the environment where Soda runs; connection errors often stem from network/firewall issues.
fix
Verify network connectivity with a simple trino client test before using Soda.
affects: all
Upgrade
Version history
3.5.6latest on PyPI · released Sep 24, 2025
Audit
Dependencies
soda-corerequiredCore library required for Soda checks
trinorequiredTrino/Presto Python client
Agent activity
34 hits · last 30 days
node
30
Bingbot
1
OpenAI (training)
1
Resources
soda-core-trino — pip install soda-core-trino · libregistry