Add support for reading VARIANT columns #963
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Local functional tests | |
on: [push, pull_request,repository_dispatch] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.head_ref || '' }}-${{ github.base_ref || '' }}-${{ github.ref != 'refs/heads/main' || github.sha }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
env: | |
BASE_BRANCH: ${{ github.base_ref || (endsWith(github.ref, '_feature') && 'feature' || 'main') }} | |
jobs: | |
rest: | |
name: Test against local Rest Catalog | |
runs-on: ubuntu-latest | |
env: | |
VCPKG_TARGET_TRIPLET: 'x64-linux-release' | |
GEN: ninja | |
VCPKG_FEATURE_FLAGS: "-binarycaching" | |
VCPKG_TOOLCHAIN_PATH: ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake | |
PIP_BREAK_SYSTEM_PACKAGES: 1 | |
steps: | |
- name: Install required ubuntu packages | |
run: | | |
sudo apt-get update -y -qq | |
sudo apt-get install -y -qq software-properties-common | |
sudo add-apt-repository ppa:git-core/ppa | |
sudo apt-get update -y -qq | |
sudo apt-get install -y -qq \ | |
ninja-build \ | |
make gcc-multilib \ | |
g++-multilib \ | |
libssl-dev \ | |
wget \ | |
openjdk-8-jdk \ | |
zip \ | |
maven \ | |
unixodbc-dev \ | |
libc6-dev-i386 \ | |
lib32readline6-dev \ | |
libssl-dev \ | |
libcurl4-gnutls-dev \ | |
libexpat1-dev \ | |
gettext \ | |
unzip \ | |
build-essential \ | |
checkinstall \ | |
libffi-dev \ | |
curl \ | |
libz-dev \ | |
openssh-client | |
sudo apt-get install -y -qq tar pkg-config | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
- name: Install required python packages | |
run: | | |
python3 -m pip install pyiceberg pytest pyarrow | |
- name: Install CMake 3.x | |
run: | | |
sudo apt-get remove -y cmake cmake-data | |
sudo apt-get install --allow-downgrades -y -qq 'cmake=3.*' 'cmake-data=3.*' | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: 'true' | |
- name: Check installed versions | |
run: | | |
ninja --version | |
cmake --version | |
- name: Setup vcpkg | |
uses: lukka/[email protected] | |
with: | |
vcpkgGitCommitId: ce613c41372b23b1f51333815feb3edd87ef8a8b | |
- name: Setup Ccache | |
uses: hendrikmuhs/ccache-action@main | |
continue-on-error: true | |
- name: Build extension | |
env: | |
GEN: ninja | |
STATIC_LIBCPP: 1 | |
run: | | |
make release | |
- name: Generate data | |
run: | | |
make data | |
- name: Test with rest catalog | |
env: | |
ICEBERG_SERVER_AVAILABLE: 1 | |
DUCKDB_ICEBERG_HAVE_GENERATED_DATA: 1 | |
run: | | |
make test_release | |
- name: Test reads with PyIceberg | |
env: | |
ICEBERG_SERVER_AVAILABLE: 1 | |
run: | | |
python3 -m pytest test/python |