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


##########
ci/appveyor-cpp-build.bat:
##########
@@ -132,10 +132,17 @@ 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
+mkdir %USERPROFILE%\Downloads\test\tzdata
+move %USERPROFILE%\Downloads\tzdata %USERPROFILE%\Downloads\test\tzdata
+
 python setup.py develop -q || exit /B
 
 set PYTHONDEVMODE=1
 
+@rem Configure the path of the timesone database to a new location
+python -c "import pyarrow;import os;path = 
os.path.expandvars(r'%USERPROFILE%\Downloads\test\tzdata');pa.set_timezone_db_path(path)"

Review Comment:
   ```suggestion
   python -c "import pyarrow;import os;path = 
os.path.expandvars(r'%USERPROFILE%\Downloads\test\tzdata');pyarrow.set_timezone_db_path(path)"
   ```



-- 
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