diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9da51e859..516a66f00 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -147,12 +147,9 @@ jobs: - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + - name: Setup python env run: | - which python - which pip - # ln -s `which python` /usr/bin/python - # ln -s `which pip` /usr/bin/pip echo "$Python3_ROOT_DIR/bin" >> $GITHUB_PATH echo $GITHUB_PATH @@ -206,11 +203,11 @@ jobs: command: clippy args: --features all --all - - name: Cache venv - uses: actions/cache@v4 - with: - path: ~/.cache/pypoetry/virtualenvs - key: ${{ runner.os }}-${{ matrix.python-version }}-venv-${{ secrets.CACHE_VERSION }}-${{ hashFiles('connectorx-python/poetry.lock') }} + # - name: Cache venv + # uses: actions/cache@v4 + # with: + # path: ~/.cache/pypoetry/virtualenvs + # key: ${{ runner.os }}-${{ matrix.python-version }}-venv-${{ secrets.CACHE_VERSION }}-${{ hashFiles('connectorx-python/poetry.lock') }} - uses: extractions/setup-just@v2 diff --git a/connectorx/src/partition.rs b/connectorx/src/partition.rs index fedd34fe7..957303ac7 100644 --- a/connectorx/src/partition.rs +++ b/connectorx/src/partition.rs @@ -10,6 +10,7 @@ use crate::sources::mysql::{MySQLSourceError, MySQLTypeSystem}; use crate::sources::oracle::{connect_oracle, OracleDialect}; #[cfg(feature = "src_postgres")] use crate::sources::postgres::{rewrite_tls_args, PostgresTypeSystem}; +#[cfg(feature = "src_trino")] use crate::sources::trino::TrinoDialect; #[cfg(feature = "src_sqlite")] use crate::sql::get_partition_range_query_sep;