jorisvandenbossche commented on issue #36026:
URL: https://github.com/apache/arrow/issues/36026#issuecomment-2007566504

   Currently it is hardcoded (if the env variable is not set) to 
"/usr/share/zoneinfo" 
(https://github.com/apache/orc/blob/0b4631bc343ed559e284ea6f824f31890f798e31/c%2B%2B/src/Timezone.cc#L33-L34)
 
   
   I am not super familiar about whether there are standard ways to get a 
"user" or "app" prefix (we use `$PREFIX` in our (conda) CI, but that's because 
we set that ourselves, not necessarily because that is a standard?). 
   For conda you can get this as `$CONDA_PREFIX`, but I don't know if you want 
to include conda specific code in the ORC library itself. 
   
   Another option would also be to allow to specify a path at run time (we do 
that in Arrow for the tz database that is used by the kernels with 
`arrow::GlobalOptions:;timezone_db_path`), and then in the (py)arrow code we 
could be more opinionated about which path to set.


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