mkpipe-extractor-sqlserver
SQL Server extractor plugin for MkPipe. Reads SQL Server tables via JDBC.
Documentation
For more detailed documentation, please visit the GitHub repository.
License
This project is licensed under the Apache 2.0 License - see the LICENSE file for details.
Connection Configuration
connections:
sqlserver_source:
variant: sqlserver
host: localhost
port: 1433
database: mydb
user: myuser
password: mypassword
Table Configuration
pipelines:
- name: sqlserver_to_pg
source: sqlserver_source
destination: pg_target
tables:
- name: dbo.events
target_name: stg_events
replication_method: full
fetchsize: 100000
Incremental Replication
- name: dbo.events
target_name: stg_events
replication_method: incremental
iterate_column: updated_at
iterate_column_type: datetime
partitions_column: id
partitions_count: 4
fetchsize: 50000
Custom SQL
- name: dbo.events
target_name: stg_events
replication_method: full
custom_query: "SELECT id, user_id, event_type FROM dbo.events WHERE {query_filter}"
Read Parallelism
Set partitions_column and partitions_count for parallel JDBC reads. Partitioning only applies to incremental replication.
All Table Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
name |
string | required | SQL Server table name (include schema: dbo.events) |
target_name |
string | required | Destination table name |
replication_method |
full / incremental |
full |
Replication strategy |
iterate_column |
string or list | — | Column(s) for incremental watermark. String for single column or SQL expression, list for multi-column OR logic |
iterate_column_type |
int / datetime |
— | Type of iterate_column |
partitions_column |
string | same as iterate_column |
Column to split JDBC reads on |
partitions_count |
int | 10 |
Number of parallel JDBC partitions |
fetchsize |
int | 100000 |
Rows per JDBC fetch |
custom_query |
string | — | Override SQL with {query_filter} placeholder |
custom_query_file |
string | — | Path to SQL file (relative to sql/ dir) |
tags |
list | [] |
Tags for selective pipeline execution |
pass_on_error |
bool | false |
Skip table on error instead of failing |
Metadata
Release files for mkpipe-extractor-sqlserver 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mkpipe_extractor_sqlserver-0.5.0.tar.gz | 7.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mkpipe_extractor_sqlserver-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.6 kB
Release files / mkpipe_extractor_sqlserver-0.5.0.tar.gz
| Download URL | mkpipe_extractor_sqlserver-0.5.0.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7650af0cb6a2f815fba597ee6db683b8be5a71dde813c3d96f36ca103d614e7c
|
|
BLAKE2b-256 checksum How to use checksums |
c55e08a2ea4522491551604b4520bf4e15da8a9fd456a5cbf4e5812f5c49918a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / mkpipe_extractor_sqlserver-0.5.0-py3-none-any.whl
| Download URL | mkpipe_extractor_sqlserver-0.5.0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de6e59faeddc5275e88bffb12d00db668b8775ece437cb4c2dddb78ef3eb369c
|
|
BLAKE2b-256 checksum How to use checksums |
09c95a02ee057fe46d20a9d6566b4b6514e7794dfda7be03d686b5ad9476ba34
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for mkpipe-extractor-sqlserver 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.