harlequin-odbc-vertica
A Harlequin adapter for Vertica via ODBC.
This adapter extends harlequin-odbc to fix Vertica-specific issues with catalog and column metadata retrieval.
Problem
The standard harlequin-odbc adapter has two issues when used with Vertica:
- Empty Data Catalog: Vertica's ODBC driver returns
Nonefor catalog names, causing all tables to be filtered out. - Column listing error: Vertica's ODBC driver does not support the
catalogparameter inSQLColumns, resulting inHYC00errors.
Solution
harlequin-odbc-vertica overrides two methods in the ODBC adapter:
_list_tables: UsesSELECT current_database()as a fallback when the catalog name isNone._list_columns_in_relation: Omits thecatalogparameter when callingpyodbc.Cursor.columns().
Installation
pip install harlequin-odbc-vertica
Or with uv:
uv tool install harlequin --with harlequin-odbc-vertica
Prerequisites
You need:
- Harlequin installed
- An ODBC driver manager (
unixodbcon macOS/Linux) - The Vertica ODBC driver installed and registered in
odbcinst.ini
Usage
harlequin -a odbc-vertica 'DRIVER={Vertica};SERVER=your-server;PORT=5433;DATABASE=your-db;UID=user;PWD=password'
License
MIT
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file harlequin_odbc_vertica-0.1.1.tar.gz.
File metadata
- Download URL: harlequin_odbc_vertica-0.1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b55aecfa0e99ef4ba63ae2c359b894b76af642962e8474d0b3bd0e02853db50
|
|
| MD5 |
21d39dc5a2b7bc890341653c403e730f
|
|
| BLAKE2b-256 |
4e15e6e661292d330fca54909ddc214c7fb84e98d032cd06ecc0737a45e3626f
|
Provenance
The following attestation bundles were made for harlequin_odbc_vertica-0.1.1.tar.gz:
Publisher:
publish.yml on clang-engineer/harlequin-odbc-vertica
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
harlequin_odbc_vertica-0.1.1.tar.gz -
Subject digest:
6b55aecfa0e99ef4ba63ae2c359b894b76af642962e8474d0b3bd0e02853db50 - Sigstore transparency entry: 2658163420
- Sigstore integration time:
-
Permalink:
clang-engineer/harlequin-odbc-vertica@f9e2e1e86e56d4528d4416ae5d3ccfcf603b9a39 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/clang-engineer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9e2e1e86e56d4528d4416ae5d3ccfcf603b9a39 -
Trigger Event:
release
-
Statement type:
File details
Details for the file harlequin_odbc_vertica-0.1.1-py3-none-any.whl.
File metadata
- Download URL: harlequin_odbc_vertica-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e7d1e25b4ace0096a9ec4fb43598761d9cad60107bec6fffcb38cd21aaf6492
|
|
| MD5 |
9b9014445a9e1cd41695a5066807489c
|
|
| BLAKE2b-256 |
123683de3548d0cd1b0e35880041ead960fc598ced024e355a897fd8b4614637
|
Provenance
The following attestation bundles were made for harlequin_odbc_vertica-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on clang-engineer/harlequin-odbc-vertica
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
harlequin_odbc_vertica-0.1.1-py3-none-any.whl -
Subject digest:
5e7d1e25b4ace0096a9ec4fb43598761d9cad60107bec6fffcb38cd21aaf6492 - Sigstore transparency entry: 2658163569
- Sigstore integration time:
-
Permalink:
clang-engineer/harlequin-odbc-vertica@f9e2e1e86e56d4528d4416ae5d3ccfcf603b9a39 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/clang-engineer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f9e2e1e86e56d4528d4416ae5d3ccfcf603b9a39 -
Trigger Event:
release
-
Statement type: