You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Abdel Hakim Deneche <ad...@maprtech.com> on 2015/06/23 18:41:47 UTC

Unit test failing on master

TestWindowFunctions#testWindowWithJoin is failing consistently on today's
master. It happens if you run the test from maven or from an IDE. Here is
the error I am seeing:

org.apache.calcite.sql.validate.SqlValidatorException <init>
> SEVERE: org.apache.calcite.sql.validate.SqlValidatorException: Column
> 'r_regionKey' is ambiguous
> Jun 23, 2015 9:36:16 AM org.apache.calcite.runtime.CalciteException <init>
> SEVERE: org.apache.calcite.runtime.CalciteContextException: At line 0,
> column 0: Column 'r_regionKey' is ambiguous
> Exception (no rows returned):
> org.apache.drill.common.exceptions.UserRemoteException: PARSE ERROR: At
> line 0, column 0: Column 'r_regionKey' is ambiguous
> [Error Id: bd256fba-2bb2-4256-9993-f44af247f3f8 on 172.30.1.107:31010].
> Returned in 129ms.
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 40.119 sec
> <<< FAILURE! - in org.apache.drill.exec.TestWindowFunctions



-- 

Abdelhakim Deneche

Software Engineer

  <http://www.mapr.com/>


Now Available - Free Hadoop On-Demand Training
<http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available>

Re: Unit test failing on master

Posted by Abdel Hakim Deneche <ad...@maprtech.com>.
my bad, I had a custom calcite r8 in my maven cache. The test is no longer
failing now.

Thanks!

On Tue, Jun 23, 2015 at 9:45 AM, Hsuan Yi Chu <hy...@maprtech.com> wrote:

> Make sure you are using drill-calcite-r8.
>
> In intellij, you need to reimport maven projects
>
> On Tue, Jun 23, 2015 at 9:44 AM, Abdel Hakim Deneche <
> adeneche@maprtech.com>
> wrote:
>
> > hold on, I may have corrupted my local maven repository with a custom
> > calcite build. I will clean the local repository and try again
> >
> > On Tue, Jun 23, 2015 at 9:41 AM, Abdel Hakim Deneche <
> > adeneche@maprtech.com>
> > wrote:
> >
> > > TestWindowFunctions#testWindowWithJoin is failing consistently on
> today's
> > > master. It happens if you run the test from maven or from an IDE. Here
> is
> > > the error I am seeing:
> > >
> > > org.apache.calcite.sql.validate.SqlValidatorException <init>
> > >> SEVERE: org.apache.calcite.sql.validate.SqlValidatorException: Column
> > >> 'r_regionKey' is ambiguous
> > >> Jun 23, 2015 9:36:16 AM org.apache.calcite.runtime.CalciteException
> > <init>
> > >> SEVERE: org.apache.calcite.runtime.CalciteContextException: At line 0,
> > >> column 0: Column 'r_regionKey' is ambiguous
> > >> Exception (no rows returned):
> > >> org.apache.drill.common.exceptions.UserRemoteException: PARSE ERROR:
> At
> > >> line 0, column 0: Column 'r_regionKey' is ambiguous
> > >> [Error Id: bd256fba-2bb2-4256-9993-f44af247f3f8 on 172.30.1.107:31010
> ].
> > >> Returned in 129ms.
> > >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 40.119
> > >> sec <<< FAILURE! - in org.apache.drill.exec.TestWindowFunctions
> > >
> > >
> > >
> > > --
> > >
> > > Abdelhakim Deneche
> > >
> > > Software Engineer
> > >
> > >   <http://www.mapr.com/>
> > >
> > >
> > > Now Available - Free Hadoop On-Demand Training
> > > <
> >
> http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available
> > >
> > >
> >
> >
> >
> > --
> >
> > Abdelhakim Deneche
> >
> > Software Engineer
> >
> >   <http://www.mapr.com/>
> >
> >
> > Now Available - Free Hadoop On-Demand Training
> > <
> >
> http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available
> > >
> >
>



-- 

Abdelhakim Deneche

Software Engineer

  <http://www.mapr.com/>


Now Available - Free Hadoop On-Demand Training
<http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available>

Re: Unit test failing on master

Posted by Hsuan Yi Chu <hy...@maprtech.com>.
Make sure you are using drill-calcite-r8.

In intellij, you need to reimport maven projects

On Tue, Jun 23, 2015 at 9:44 AM, Abdel Hakim Deneche <ad...@maprtech.com>
wrote:

> hold on, I may have corrupted my local maven repository with a custom
> calcite build. I will clean the local repository and try again
>
> On Tue, Jun 23, 2015 at 9:41 AM, Abdel Hakim Deneche <
> adeneche@maprtech.com>
> wrote:
>
> > TestWindowFunctions#testWindowWithJoin is failing consistently on today's
> > master. It happens if you run the test from maven or from an IDE. Here is
> > the error I am seeing:
> >
> > org.apache.calcite.sql.validate.SqlValidatorException <init>
> >> SEVERE: org.apache.calcite.sql.validate.SqlValidatorException: Column
> >> 'r_regionKey' is ambiguous
> >> Jun 23, 2015 9:36:16 AM org.apache.calcite.runtime.CalciteException
> <init>
> >> SEVERE: org.apache.calcite.runtime.CalciteContextException: At line 0,
> >> column 0: Column 'r_regionKey' is ambiguous
> >> Exception (no rows returned):
> >> org.apache.drill.common.exceptions.UserRemoteException: PARSE ERROR: At
> >> line 0, column 0: Column 'r_regionKey' is ambiguous
> >> [Error Id: bd256fba-2bb2-4256-9993-f44af247f3f8 on 172.30.1.107:31010].
> >> Returned in 129ms.
> >> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 40.119
> >> sec <<< FAILURE! - in org.apache.drill.exec.TestWindowFunctions
> >
> >
> >
> > --
> >
> > Abdelhakim Deneche
> >
> > Software Engineer
> >
> >   <http://www.mapr.com/>
> >
> >
> > Now Available - Free Hadoop On-Demand Training
> > <
> http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available
> >
> >
>
>
>
> --
>
> Abdelhakim Deneche
>
> Software Engineer
>
>   <http://www.mapr.com/>
>
>
> Now Available - Free Hadoop On-Demand Training
> <
> http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available
> >
>

Re: Unit test failing on master

Posted by Abdel Hakim Deneche <ad...@maprtech.com>.
hold on, I may have corrupted my local maven repository with a custom
calcite build. I will clean the local repository and try again

On Tue, Jun 23, 2015 at 9:41 AM, Abdel Hakim Deneche <ad...@maprtech.com>
wrote:

> TestWindowFunctions#testWindowWithJoin is failing consistently on today's
> master. It happens if you run the test from maven or from an IDE. Here is
> the error I am seeing:
>
> org.apache.calcite.sql.validate.SqlValidatorException <init>
>> SEVERE: org.apache.calcite.sql.validate.SqlValidatorException: Column
>> 'r_regionKey' is ambiguous
>> Jun 23, 2015 9:36:16 AM org.apache.calcite.runtime.CalciteException <init>
>> SEVERE: org.apache.calcite.runtime.CalciteContextException: At line 0,
>> column 0: Column 'r_regionKey' is ambiguous
>> Exception (no rows returned):
>> org.apache.drill.common.exceptions.UserRemoteException: PARSE ERROR: At
>> line 0, column 0: Column 'r_regionKey' is ambiguous
>> [Error Id: bd256fba-2bb2-4256-9993-f44af247f3f8 on 172.30.1.107:31010].
>> Returned in 129ms.
>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 40.119
>> sec <<< FAILURE! - in org.apache.drill.exec.TestWindowFunctions
>
>
>
> --
>
> Abdelhakim Deneche
>
> Software Engineer
>
>   <http://www.mapr.com/>
>
>
> Now Available - Free Hadoop On-Demand Training
> <http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available>
>



-- 

Abdelhakim Deneche

Software Engineer

  <http://www.mapr.com/>


Now Available - Free Hadoop On-Demand Training
<http://www.mapr.com/training?utm_source=Email&utm_medium=Signature&utm_campaign=Free%20available>