pitrou commented on code in PR #37436:
URL: https://github.com/apache/arrow/pull/37436#discussion_r1335929687


##########
ci/appveyor-cpp-build.bat:
##########
@@ -132,6 +132,21 @@ set ARROW_HOME=%CONDA_PREFIX%\Library
 @rem ARROW-3075; pkgconfig is broken for Parquet for now
 set PARQUET_HOME=%CONDA_PREFIX%\Library
 
+@rem Move tzdata to a non-standard location to test the
+@rem configurability of the timezone database path
+@REM mkdir %USERPROFILE%\Downloads\test\tzdata
+@REM move %USERPROFILE%\Downloads\tzdata %USERPROFILE%\Downloads\test\tzdata
+
+@rem Download IANA Timezone Database to another location
+curl https://data.iana.org/time-zones/releases/tzdata2021e.tar.gz --output 
tzdata.tar.gz
+mkdir tzdata
+tar --extract --file tzdata.tar.gz --directory tzdata
+mkdir %USERPROFILE%\Downloads\test\tzdata
+move tzdata %USERPROFILE%\Downloads\test\tzdata
+curl 
https://raw.githubusercontent.com/unicode-org/cldr/master/common/supplemental/windowsZones.xml
 ^
+  --output %USERPROFILE%\Downloads\test\tzdata\windowsZones.xml
+set PYARROW_TZDATA_PATH=%USERPROFILE%\Downloads\test\tzdata

Review Comment:
   Perhaps we can try to debug this by printing the directory contents:
   ```suggestion
   set PYARROW_TZDATA_PATH=%USERPROFILE%\Downloads\test\tzdata
   @echo == PYARROW_TZDATA_PATH contents ==
   dir /n %PYARROW_TZDATA_PATH%
   @echo == /PYARROW_TZDATA_PATH contents ==
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to