Link Search Menu Expand Document

Connect Soda to OracleDB

Last modified on 27-Sep-23

For Soda to run quality scans of your data, you must configure it to connect to your data source.

  • For Soda Library, add the connection configurations to your configuration.yml file. Read more.
  • For Soda Cloud, add the connection configurations to step 3 of the New Data Source workflow. Read more.

Compatibility

Soda supports Oracle version 21.3 or greater.

Configuration

Install package: soda-oracle

data_source my_datasource_name:
  type: oracle
  username: ***
  password: ***
  connectstring:
Property Required Notes
type required  
username required Consider using system variables to retrieve this value securely.
password required Consider using system variables to retrieve this value securely.
connectstring required  

Test the data source connection

To confirm that you have correctly configured the connection details for the data source(s) in your configuration YAML file, use the test-connection command. If you wish, add a -V option to the command to returns results in verbose mode in the CLI.

soda test-connection -d my_datasource -c configuration.yml -V

Supported data types

Category Data type
text CHARACTER VARYING, CHARACTER, CHAR, TEXT
number SMALLINT, INTEGER, BIGINT, DECIMAL, NUMERIC, VARIABLE, REAL, DOUBLE PRECISION, SMALLSERIAL, SERIAL, BIGSERIAL
time TIMESTAMP, DATE, TIME, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITHOUT TIME ZONE, TIME WITH TIME ZONE, TIME WITHOUT TIME ZONE




Was this documentation helpful?

What could we do to improve this page?

Documentation always applies to the latest version of Soda products
Last modified on 27-Sep-23