{"id":22388,"library":"soda-core-athena","title":"Soda Core Athena","description":"Soda Core Athena is an extension of Soda Core for scanning data quality issues in AWS Athena. The current version is 3.5.6. It follows the same release cadence as Soda Core.","status":"active","version":"3.5.6","language":"python","source_language":"en","source_url":"https://github.com/sodadata/soda-core","tags":["data quality","soda","athena","scanning"],"install":[{"cmd":"pip install soda-core-athena","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Core library required for Athena extension","package":"soda-core","optional":false}],"imports":[{"note":"Athena scan is configured via the data source name, not a separate class.","wrong":"from soda.athena import AthenaScan","symbol":"AthenaScan","correct":"from soda.scan import Scan"}],"quickstart":{"code":"from soda.scan import Scan\n\nscan = Scan()\nscan.set_data_source_name('athena')\nscan.add_configuration_yaml_file('configuration.yml')\nscan.add_sodacl_yaml_file('checks.yml')\nscan.execute()\nprint(scan.get_logs_text())","lang":"python","description":"Basic Soda Core scan using Athena data source."},"warnings":[{"fix":"Use `from soda.scan import Scan` and instantiate `Scan()`.","message":"In Soda Core 3.x, the scan creation API changed from `SodaScan` to `Scan`. The class `SodaScan` was removed.","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Ensure `soda-core-athena` is installed in the same environment.","message":"The Athena data source requires `soda-core-athena` to be installed separately, but the import is still from `soda.scan`. Missing this package will cause a data source configuration error.","severity":"gotcha","affected_versions":"all"},{"fix":"Set environment variables `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, and optionally `AWS_SESSION_TOKEN` before running the scan.","message":"Athena scanning may fail if the AWS credentials are not properly configured. Soda uses the default AWS credential chain.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run `pip install soda-core-athena` and verify import with `from soda.scan import Scan`.","cause":"The Athena data source extension is not installed or not properly registered.","error":"soda.scan.Scan: data source 'athena' not found"},{"fix":"Upgrade to Soda Core 3.x: `pip install soda-core>=3.0.0`.","cause":"Using an older version of Soda Core (<3.0.0) where the scan module was not yet introduced.","error":"AttributeError: module 'soda' has no attribute 'scan'"},{"fix":"Use `Scan` from `soda.scan` and call `scan.execute()`.","cause":"Attempting to use a deprecated class or incorrect import path.","error":"soda.scan.Scan: 'AthenaScan' object has no attribute 'execute'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}