Pipelinewise tap for reading from oracle databases. This includes support for PDBs.
Project description
c8-source-oracle
Singer tap that extracts data from a Oracle database and produces JSON-formatted data following the Singer spec.
How to use it
Install and Run
First, make sure Python 3 is installed on your system or follow these installation instructions for Mac or Ubuntu.
It's recommended to use a virtualenv:
python3 -m venv venv
pip install c8-source-oracle
or from source using,
- Install poetry using https://python-poetry.org/docs/#installation
- Run
poetry build pip install dist/c8_source_oracle-<version>*.whl
Configuration
Running the the tap requires a config.json
file.
Example configuration:
{
"host": "dev.oracledb.io",
"port": 1521,
"user": "C##HELLO",
"password": "password",
"service_name": "ORCLCDB",
"filter_schemas": "C##HELLO",
"default_replication_method": "LOG_BASED",
"pdb_name": "ORCLPDB1",
"multitenant": true,
"scn_window_size": 10
}
You can run a discover run using the previous config.json
file to acquire all the tables definition
c8-source-oracle --config /tmp/config.json --discover >> /tmp/catalog.json
Then use the catalog.json to run a full export:
c8-source-oracle --config /tmp/config.json --catalog /tmp/catalog.json
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file c8-source-oracle-0.0.7.tar.gz
.
File metadata
- Download URL: c8-source-oracle-0.0.7.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51bc46a070a5ceecade046033b79b9aa857c36ef2193cbe02edbea8be70b9234 |
|
MD5 | b3b774cb85aaa12215f0f1e4045e5ea0 |
|
BLAKE2b-256 | 06adc2b583fc8c9099828a6f30104bb9dac2f8a66c451a361025b583f655d59e |
File details
Details for the file c8_source_oracle-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: c8_source_oracle-0.0.7-py3-none-any.whl
- Upload date:
- Size: 29.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 039a15aef4962a9fe0953779d6fd914b54582ec66122d08d7a8b388fbbcf033d |
|
MD5 | 85479f5e8cc50acdf090919b7bf98bcf |
|
BLAKE2b-256 | a3629bdf6480293ee0aafb7f0a72d256f6fb0e0b42c5f4257043e9856f8a7d91 |