Use SQLAlchemy executable metadata queries with bound values, quote Drill identifiers, render compatible column qualifiers, and fix transport-local DBAPI hooks. Harden REST qmark substitution without reinterpreting literals or comments. Preserve invalidated-connection errors during has_table.
Prepare unreleased version 1.1.11 from one source; exclude runtime test packages, complete the sdist, and reject every unexpected artifact or mismatched metadata before clean-install tests and OIDC publication. Preserve upstream trusted publishing. JDBC/ODBC, TLS, and downstream production images remain unqualified.
What this is
A Preset-owned fallback for the SQLAlchemy 2 Drill dialect fixes. This is the byte-identical reviewed head of upstream JohnOmernik/sqlalchemy-drill#100 — commit
ca7ace9eebe769bea3e620db60ba32906b67f95a, pushed here unmodified.Upstream JohnOmernik#100 remains OPEN and is the preferred landing path. This PR exists only because upstream CI has never executed: its workflow run sits at
action_requiredwith zero jobs behind the fork-PR approval gate, and no upstream admin has been available to approve it (last upstream activity: 2026-02-05). Nothing here supersedes or abandons JohnOmernik#100.Attribution and history
This repository is a fork of
JohnOmernik/sqlalchemy-drill, so the full upstream history is intact. All five commits retain their original authorship and dates — nothing was squashed, rebased, amended, or cherry-picked.masterhere is632c44b, identical to upstreammaster, so the diff is exactly the five reviewed commits and nothing else.Original project: JohnOmernik/sqlalchemy-drill, MIT licensed. Prior contributors to the touched code include @cgivre, @jnturton, and @potiuk.
What it fixes
import_dbapihooksVerification
Full
test.ymlreproduced against this exact sha, both in CI and locally against a real pinned Apache Drill container:twine check --strictDeclared version is
1.1.11, single-sourced from the package. CodeQL is the one check not reproduced — it isdisabled_inactivityupstream.Not ready to merge
Deliberately not merged, tagged, or published. Artifact version/provenance and the trusted-publishing mechanism must be verified first. No release has been cut and no credential has been used.
Provenance notes (read before any publication)
sqlalchemy_drill/__init__.pyand read bysetup.pywithout importing the package.1.1.11does not exist on public PyPI. The latest public release is1.1.10, and the latest upstream tag/release isv1.1.10(2026-02-05). Publishing1.1.11anywhere therefore creates a version that has no upstream counterpart — see the supply-chain caveat tracked alongside this PR.Home-pageand the original author list (John Omernik, Charles Givre, Davide Miceli, Massimo Martiradonna, James Turton). License is MIT, unchanged.