drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitalii Diravka <vita...@apache.org>
Subject Re: storage plugin test case
Date Wed, 26 Sep 2018 10:36:33 GMT
Hi Jean-Claude

BaseTestQuery is deprecated. Please use ClusterTest instead.
See TestCsv.java for example.

You can find more info about Drill Cluster-Fixture-Framework here:
https://github.com/paul-rogers/drill/wiki/Cluster-Fixture-Framework

On Wed, Sep 26, 2018 at 12:00 AM Jean-Claude Cote <jccote@gmail.com> wrote:

> I have writing a msgpack storage plugin from drill.
> https://github.com/jcmcote/drill/tree/master/contrib/storage-msgpack
>
> I'm now trying to write test cases like
>
>     testBuilder()
>         .sqlQuery("select * from cp.`msgpack/testBasic.mp`")
>         .ordered()
>         .baselineColumns("a").baselineValues("1").baselineValues("1")
>         .baselineColumns("b").baselineValues("2").baselineValues("2")
>         .build().run();
>
> However when I run the test case it says it cannot find the
> msgpack/testBasic.mp file. However it is in my src/test/resources folder.
>
> Should this work? I'm I going at it the right way?
> Thanks
> jc
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message