Skip to content

Add ODBC Debian support#162

Merged
alinaliBQ merged 2 commits intoapache-odbcfrom
debian-support
Mar 23, 2026
Merged

Add ODBC Debian support#162
alinaliBQ merged 2 commits intoapache-odbcfrom
debian-support

Conversation

@alinaliBQ
Copy link

@alinaliBQ alinaliBQ commented Mar 18, 2026

Add ODBC Debian support in Linux CI.

Fixed Debian build issue with external library ZLIB.

Update compose.yaml

Update compose.yaml

Attempt to fix build issue

Update compose.yaml

Update compose.yaml

Update debian-13-cpp.dockerfile
@alinaliBQ alinaliBQ force-pushed the debian-support branch 2 times, most recently from 3bffa74 to 4ad2878 Compare March 20, 2026 17:45
set(ZLIB_STATIC_LIB_NAME zlibstaticd.lib)
else()
set(ZLIB_STATIC_LIB_NAME zlibstatic.lib)
if(NOT TARGET ZLIB::ZLIB)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add if statement if(NOT TARGET ZLIB::ZLIB) to use bundled zlib only if zlib library is not found. On debian, there was build error without this change: https://github.com/Bit-Quill/arrow/actions/runs/23025621291/job/66872649956#step:6:4516

Other changes in this file are only empty space changes

Comment on lines +397 to +413
ARROW_ACERO: "OFF"
ARROW_AZURE: "OFF"
ARROW_BUILD_TYPE: RELEASE
ARROW_CSV: "OFF"
ARROW_DATASET: "OFF"
ARROW_ENABLE_TIMING_TESTS: # inherit
ARROW_DEPENDENCY_SOURCE: BUNDLED
ARROW_DEPENDENCY_USE_SHARED: "OFF"
ARROW_FILESYSTEM: "OFF"
ARROW_FLIGHT_SQL_ODBC: "ON"
ARROW_GANDIVA: "OFF"
ARROW_GCS: "OFF"
ARROW_HDFS: "OFF"
ARROW_ORC: "OFF"
ARROW_PARQUET: "OFF"
ARROW_S3: "OFF"
ARROW_SUBSTRAIT: "OFF"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Disabled non-ODBC related projects on Debian, since we ran into build errors with ARROW_PARQUET: https://github.com/Bit-Quill/arrow/actions/runs/23070284534/job/67018772931#step:6:11116

@alinaliBQ alinaliBQ marked this pull request as ready for review March 20, 2026 20:50
@alinaliBQ alinaliBQ merged commit 23daa09 into apache-odbc Mar 23, 2026
37 of 42 checks passed
@alinaliBQ alinaliBQ deleted the debian-support branch March 23, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants