Re: Debugging Gandiva failures in python CI tests

2019-01-07 Thread Antoine Pitrou
IMHO we can simpler skip the Gandiva tests on Python 2.7. Regards Antoine. Le 07/01/2019 à 21:12, Ravindra Pindikura a écrit : > Thanks Antoine. > > This works on my test machine. But fails in CI. I’m guessing it’s a python > 2.7 issue. > > https://travis-ci.org/apache/arrow/jobs/47646967

Re: Debugging Gandiva failures in python CI tests

2019-01-07 Thread Ravindra Pindikura
Thanks Antoine. This works on my test machine. But fails in CI. I’m guessing it’s a python 2.7 issue. https://travis-ci.org/apache/arrow/jobs/476469678 ImportError while loading conftest '/home/travis/build/apache/arrow/python/pyarrow/test

Re: Debugging Gandiva failures in python CI tests

2019-01-07 Thread Antoine Pitrou
Hi Ravindra, I've found that it's the same issue as previously in Java. Here is a workaround that works here: https://gist.github.com/pitrou/7eed7b980eec3187d619bc146b75cc4b Regards Antoine. Le 07/01/2019 à 07:16, Ravindra Pindikura a écrit : > I missed mentioning this. The repro requires my

Re: Debugging Gandiva failures in python CI tests

2019-01-06 Thread Ravindra Pindikura
I missed mentioning this. The repro requires my changes for decimal (in the PR). https://github.com/apache/arrow/pull/2942 > On Jan 6, 2019, at 4:23 PM, Ravindra Pindikura wrote: > > > >> On Jan 6, 2019, at 3:38 PM, Antoine Pitrou >

Re: Debugging Gandiva failures in python CI tests

2019-01-06 Thread Ravindra Pindikura
> On Jan 6, 2019, at 3:38 PM, Antoine Pitrou wrote: > > > Can you tell me how to reproduce? I'll take a look on Monday. Thank you. I used the following steps to repro (on ubuntu 14) : 1. conda section to setup the python environment https://github.com/apache/arrow/blob/master/docs/source/

Re: Debugging Gandiva failures in python CI tests

2019-01-06 Thread Antoine Pitrou
Can you tell me how to reproduce? I'll take a look on Monday. Regards Antoine. Le 06/01/2019 à 10:24, Ravindra Pindikura a écrit : > > >> On Dec 29, 2018, at 8:03 PM, Ravindra Pindikura wrote: >> >> >> >>> On Dec 28, 2018, at 1:38 AM, Wes McKinney wrote: >>> >>> You might have to wait fo

Re: Debugging Gandiva failures in python CI tests

2019-01-06 Thread Ravindra Pindikura
> On Dec 29, 2018, at 8:03 PM, Ravindra Pindikura wrote: > > > >> On Dec 28, 2018, at 1:38 AM, Wes McKinney wrote: >> >> You might have to wait for Antoine's help after the holidays. In the >> meantime: do you get the error when building both with gcc 4.8/4.9 and >> clang-6.0? I did a bit o

Re: Debugging Gandiva failures in python CI tests

2018-12-29 Thread Ravindra Pindikura
> On Dec 28, 2018, at 1:38 AM, Wes McKinney wrote: > > You might have to wait for Antoine's help after the holidays. In the > meantime: do you get the error when building both with gcc 4.8/4.9 and > clang-6.0? I did a bit of google searching and it seems that iostream > is a common troublemake

Re: Debugging Gandiva failures in python CI tests

2018-12-27 Thread Wes McKinney
You might have to wait for Antoine's help after the holidays. In the meantime: do you get the error when building both with gcc 4.8/4.9 and clang-6.0? I did a bit of google searching and it seems that iostream is a common troublemaker for LLVM. I wonder if the code can be refactored to avoid using

Re: Debugging Gandiva failures in python CI tests

2018-12-27 Thread Ravindra Pindikura
Thanks Wes, that worked. When I run the gandiva tests (I did a step-through with pdb), I get this error : > /home/ravindra/git/arrow/python/pyarrow/tests/test_gandiva.py(50)test_tree_exp_builder() -> schema, [expr], pa.default_memory_pool()) (Pdb) LLVM ERROR: Program used external function '_ZNS

Re: Debugging Gandiva failures in python CI tests

2018-12-26 Thread Wes McKinney
hi Ravindra, If you are using Anaconda, you need to use the conda instructions for environment setup instead of virtualenv. This should be called out more prominently in a warning in the docs - Wes On Tue, Dec 25, 2018 at 12:53 PM Ravindra Pindikura wrote: > > Hi, > > My change (decimal support

Debugging Gandiva failures in python CI tests

2018-12-25 Thread Ravindra Pindikura
Hi, My change (decimal support in gandiva) causes a CI failure in python test_gandiva.py https://travis-ci.org/apache/arrow/jobs/471874254#L7167 However, the travis log has no further information on the failure. To debug this, I tried setting up a python dev environment on ubuntu 14 using th