You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by Yash Sharma <ya...@gmail.com> on 2015/07/05 21:35:21 UTC

Where are the intermediate cubes stored - the ones created in tests

Hi All,
I am playing around with couple of testcases by modifying the code and
exploring the results.

I am facing a situation where a given test fails in middle and it created
few cubes/dim tables (but could not drop them). Now there are lot of tests
that have entry level check that 'No cubes/dims should be present' hence
they fail as soon as I run them.

Can anyone tell me where these cubes are created and how can I delete them
manually. Currently I have to delete them programatically via testcase code.

Any tips would be appreciated,

Also on side note - Just wondering should we have these checks in testcases
that No cubes/dims should be present. Shouldn't the testcase only think
about the cube/dim that it is going to create itself.

Thanks

Re: Where are the intermediate cubes stored - the ones created in tests

Posted by Yash Sharma <ya...@gmail.com>.
Great. I can find the location of the cubes mentioned in the dim_table
xml's-
>
> table_location="/tmp/examples/local"


P.S. I was facing this scenario in testcases - TestCubeRewriter,
TestLensQueryCommands

Thanks for the prompt response.
Best Regards,


On Mon, Jul 6, 2015 at 10:07 AM, amareshwarisr . <am...@gmail.com>
wrote:

> Can you give which tests caused it? The testcase code should be obvious to
> see where the cubes are getting created.
>
> On Mon, Jul 6, 2015 at 1:05 AM, Yash Sharma <ya...@gmail.com> wrote:
>
> > Hi All,
> > I am playing around with couple of testcases by modifying the code and
> > exploring the results.
> >
> > I am facing a situation where a given test fails in middle and it created
> > few cubes/dim tables (but could not drop them). Now there are lot of
> tests
> > that have entry level check that 'No cubes/dims should be present' hence
> > they fail as soon as I run them.
> >
> > Can anyone tell me where these cubes are created and how can I delete
> them
> > manually. Currently I have to delete them programatically via testcase
> > code.
> >
> > Any tips would be appreciated,
> >
> > Also on side note - Just wondering should we have these checks in
> testcases
> > that No cubes/dims should be present. Shouldn't the testcase only think
> > about the cube/dim that it is going to create itself.
> >
> > Thanks
> >
>

Re: Where are the intermediate cubes stored - the ones created in tests

Posted by "amareshwarisr ." <am...@gmail.com>.
Can you give which tests caused it? The testcase code should be obvious to
see where the cubes are getting created.

On Mon, Jul 6, 2015 at 1:05 AM, Yash Sharma <ya...@gmail.com> wrote:

> Hi All,
> I am playing around with couple of testcases by modifying the code and
> exploring the results.
>
> I am facing a situation where a given test fails in middle and it created
> few cubes/dim tables (but could not drop them). Now there are lot of tests
> that have entry level check that 'No cubes/dims should be present' hence
> they fail as soon as I run them.
>
> Can anyone tell me where these cubes are created and how can I delete them
> manually. Currently I have to delete them programatically via testcase
> code.
>
> Any tips would be appreciated,
>
> Also on side note - Just wondering should we have these checks in testcases
> that No cubes/dims should be present. Shouldn't the testcase only think
> about the cube/dim that it is going to create itself.
>
> Thanks
>