From a4f144deaf194394b0546f3e2b7f6e1ae19dab95 Mon Sep 17 00:00:00 2001 From: "Alina (Xi) Li" Date: Wed, 21 Jan 2026 13:49:02 -0800 Subject: [PATCH 1/8] Install `rsync` via choco To resolve error `rsync command not found` --- .github/workflows/cpp_extra.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index 68f47926ad9..7aa4d00bf2b 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -464,6 +464,11 @@ jobs: mkdir odbc-installer Move-Item "build/cpp/Apache Arrow Flight SQL ODBC-*-win64.msi" odbc-installer/ tree odbc-installer /f + - name: Install rsync + # -AL- comment out `if` check later + # if: github.event_name == 'schedule' + run: | + choco install --no-progress --yes rsync - name: Sync to Remote if: github.event_name == 'schedule' uses: ./.github/actions/sync-nightlies From c075d9ec3231ab0a2ca9594bac59b008a753a371 Mon Sep 17 00:00:00 2001 From: "Alina (Xi) Li" Date: Wed, 21 Jan 2026 15:28:05 -0800 Subject: [PATCH 2/8] Uncomment test code --- .github/workflows/cpp_extra.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index 7aa4d00bf2b..6a820eb1968 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -465,8 +465,7 @@ jobs: Move-Item "build/cpp/Apache Arrow Flight SQL ODBC-*-win64.msi" odbc-installer/ tree odbc-installer /f - name: Install rsync - # -AL- comment out `if` check later - # if: github.event_name == 'schedule' + if: github.event_name == 'schedule' run: | choco install --no-progress --yes rsync - name: Sync to Remote From fb01e22b49874e1b0b885a029b3bef53d7b236ce Mon Sep 17 00:00:00 2001 From: "Alina (Xi) Li" Date: Thu, 22 Jan 2026 15:33:14 -0800 Subject: [PATCH 3/8] Apply Kou's suggestion for enabling rsync * Assuming ubuntu comes with built-in rsync --- .github/workflows/cpp_extra.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index 6a820eb1968..502a75094e7 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -457,19 +457,23 @@ jobs: name: flight-sql-odbc-msi-installer path: build/cpp/Apache Arrow Flight SQL ODBC-*-win64.msi if-no-files-found: error - # Upload ODBC installer as nightly release in scheduled runs + + odbc-nightly: + needs: odbc + name: ODBC nightly + runs-on: ubuntu-latest + if: github.event_name == 'schedule' && github.repository = 'apache/arrow' + steps: + - name: Download the artifacts + uses: actions/download-artifact@v7 + with: + name: flight-sql-odbc-msi-installer - name: Prepare ODBC installer for sync - if: github.event_name == 'schedule' run: | mkdir odbc-installer - Move-Item "build/cpp/Apache Arrow Flight SQL ODBC-*-win64.msi" odbc-installer/ + mv *.msi odbc-installer/ tree odbc-installer /f - - name: Install rsync - if: github.event_name == 'schedule' - run: | - choco install --no-progress --yes rsync - name: Sync to Remote - if: github.event_name == 'schedule' uses: ./.github/actions/sync-nightlies with: upload: true From 4fca19816698e74c3ed6391a70bf444cc990a4dd Mon Sep 17 00:00:00 2001 From: "Alina (Xi) Li" Date: Thu, 22 Jan 2026 15:39:12 -0800 Subject: [PATCH 4/8] Comment out code for test - revert later --- .github/workflows/cpp_extra.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index 502a75094e7..3579ddf1892 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -462,7 +462,8 @@ jobs: needs: odbc name: ODBC nightly runs-on: ubuntu-latest - if: github.event_name == 'schedule' && github.repository = 'apache/arrow' + # -AL- comment out for test + # if: github.event_name == 'schedule' && github.repository = 'apache/arrow' steps: - name: Download the artifacts uses: actions/download-artifact@v7 From 06d06b717c02946bcd7490401a494746253539fc Mon Sep 17 00:00:00 2001 From: "Alina (Xi) Li" Date: Thu, 22 Jan 2026 16:29:44 -0800 Subject: [PATCH 5/8] Fix `/f` --- .github/workflows/cpp_extra.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index 3579ddf1892..3a0bc074598 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -473,7 +473,7 @@ jobs: run: | mkdir odbc-installer mv *.msi odbc-installer/ - tree odbc-installer /f + tree odbc-installer - name: Sync to Remote uses: ./.github/actions/sync-nightlies with: From c3305e1e7e1dab4f738c6e66555bdd67c0243c79 Mon Sep 17 00:00:00 2001 From: "Alina (Xi) Li" Date: Thu, 22 Jan 2026 16:48:10 -0800 Subject: [PATCH 6/8] Checkout arrow --- .github/workflows/cpp_extra.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index 3a0bc074598..46388eaffd4 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -474,8 +474,16 @@ jobs: mkdir odbc-installer mv *.msi odbc-installer/ tree odbc-installer + - name: Checkout Arrow + uses: actions/checkout@v6 + with: + fetch-depth: 1 + path: arrow + repository: apache/arrow + ref: main + submodules: recursive - name: Sync to Remote - uses: ./.github/actions/sync-nightlies + uses: ./arrow/.github/actions/sync-nightlies with: upload: true switches: -avzh --update --delete --progress From 9294c6ee5aad67ec2c22d9d7bfc50977d5068b8f Mon Sep 17 00:00:00 2001 From: "Alina (Xi) Li" Date: Thu, 22 Jan 2026 17:00:30 -0800 Subject: [PATCH 7/8] Revert "Comment out code for test - revert later" This reverts commit 4fca19816698e74c3ed6391a70bf444cc990a4dd. --- .github/workflows/cpp_extra.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index 46388eaffd4..f5683ce0003 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -462,8 +462,7 @@ jobs: needs: odbc name: ODBC nightly runs-on: ubuntu-latest - # -AL- comment out for test - # if: github.event_name == 'schedule' && github.repository = 'apache/arrow' + if: github.event_name == 'schedule' && github.repository = 'apache/arrow' steps: - name: Download the artifacts uses: actions/download-artifact@v7 From 22570bc58563f30b21c40cfa8ed838dcd4fdb5db Mon Sep 17 00:00:00 2001 From: "Alina (Xi) Li" Date: Thu, 22 Jan 2026 17:04:18 -0800 Subject: [PATCH 8/8] Fix typo --- .github/workflows/cpp_extra.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cpp_extra.yml b/.github/workflows/cpp_extra.yml index f5683ce0003..49995752fab 100644 --- a/.github/workflows/cpp_extra.yml +++ b/.github/workflows/cpp_extra.yml @@ -462,7 +462,7 @@ jobs: needs: odbc name: ODBC nightly runs-on: ubuntu-latest - if: github.event_name == 'schedule' && github.repository = 'apache/arrow' + if: github.event_name == 'schedule' && github.repository == 'apache/arrow' steps: - name: Download the artifacts uses: actions/download-artifact@v7