You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Zhenyi Zhao <em...@gmail.com> on 2016/08/01 03:48:44 UTC
How to pass the TestHplsqlDb test in hive-hplsql?
Hi all,
There is a unit test class named "TestHplsqlDb.java" I found at
http://www.hplsql.org/downloads/hplsql-0.3.17-src.zip. But I want to know
why this class dose't exsit at
https://github.com/apache/hive/tree/master/hplsql.
Now I want to test the hplsql‘s compatibility with hive datasource, but the
tests failed.
And my question is how to pass the "TestHplsqlDb.java" test , I found
there are some tables required by the tests , like src , sample_07, src_dt
and so on. But I could not find them to pass the test. How to init the
test env?
I' am waiting for your response. Thank you very much~
Emerson
Re: How to pass the TestHplsqlDb test in hive-hplsql?
Posted by unmesha sreeveni <un...@gmail.com>.
Bch
G
Ggg
Vghh
V
Gf
Ggggggggg
Ck
Vjf
Fj
Fuff
Hfg
Fhfhhf
Ggg
Chbg
Gh
Gjg
Jf
Gugghhgg
Fvvvvvgv
G
Gv
G
On Aug 1, 2016 1:57 PM, "Dmitry Tolpeko" <dm...@gmail.com> wrote:
> Hi Emerson,
>
> I did not commit TestHplsqlDb.java since Apache Pre-commit test starts
> executing it, and I did not manage how to pass it (there are connection
> errors). I can commit it as java_ to prevent execution, or someone can help
> with connection errors.
>
> Some table DDLs are here: https://github.com/apache/hive/blob/master/
> hplsql/src/test/queries/db/schema.sql
>
> *src* and *sample_07* are sample tables supplied with Hive. By the way,
> *src* table is used in many Hive tests.
>
> Thanks,
> Dmitry
>
>
>
> On Mon, Aug 1, 2016 at 6:48 AM, Zhenyi Zhao <em...@gmail.com> wrote:
>
>> Hi all,
>>
>> There is a unit test class named "TestHplsqlDb.java" I found at
>> http://www.hplsql.org/downloads/hplsql-0.3.17-src.zip. But I want to
>> know why this class dose't exsit athttps://github.com/apache/
>> hive/tree/master/hplsql.
>>
>> Now I want to test the hplsql‘s compatibility with hive datasource, but
>> the tests failed.
>>
>> And my question is how to pass the "TestHplsqlDb.java" test , I found
>> there are some tables required by the tests , like src , sample_07, src_dt
>> and so on. But I could not find them to pass the test. How to init the
>> test env?
>>
>> I' am waiting for your response. Thank you very much~
>>
>> Emerson
>>
>
>
Re: How to pass the TestHplsqlDb test in hive-hplsql?
Posted by Zhenyi Zhao <em...@gmail.com>.
Thank you Dmitry, I found it.
If I want integrate my database (like hive) with hplsql, is there any
test case suite to estimate its compatibility ?
Emerson
2016-08-01 20:18 GMT+08:00 Dmitry Tolpeko <dm...@gmail.com>:
> Please try to find them in ./ql/src/test/queries/clientpositive directory
> (see topn.q file for example).
>
> Thanks,
> Dmitry
>
> On Mon, Aug 1, 2016 at 11:34 AM, Zhenyi Zhao <em...@gmail.com> wrote:
>
>> Hi Dmitry,
>>
>> Thank you for your answer. you said “*src* and *sample_07* are
>> sample tables supplied with Hive” , where can I find this infomation of
>> these tables.
>>
>> Emerson
>>
>> 2016-08-01 16:27 GMT+08:00 Dmitry Tolpeko <dm...@gmail.com>:
>>
>>> Hi Emerson,
>>>
>>> I did not commit TestHplsqlDb.java since Apache Pre-commit test starts
>>> executing it, and I did not manage how to pass it (there are connection
>>> errors). I can commit it as java_ to prevent execution, or someone can help
>>> with connection errors.
>>>
>>> Some table DDLs are here:
>>> https://github.com/apache/hive/blob/master/hplsql/src/test/queries/db/schema.sql
>>>
>>> *src* and *sample_07* are sample tables supplied with Hive. By the way,
>>> *src* table is used in many Hive tests.
>>>
>>> Thanks,
>>> Dmitry
>>>
>>>
>>>
>>> On Mon, Aug 1, 2016 at 6:48 AM, Zhenyi Zhao <em...@gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> There is a unit test class named "TestHplsqlDb.java" I found at
>>>> http://www.hplsql.org/downloads/hplsql-0.3.17-src.zip. But I want to
>>>> know why this class dose't exsit at
>>>> https://github.com/apache/hive/tree/master/hplsql.
>>>>
>>>> Now I want to test the hplsql‘s compatibility with hive datasource, but
>>>> the tests failed.
>>>>
>>>> And my question is how to pass the "TestHplsqlDb.java" test , I found
>>>> there are some tables required by the tests , like src , sample_07, src_dt
>>>> and so on. But I could not find them to pass the test. How to init the
>>>> test env?
>>>>
>>>> I' am waiting for your response. Thank you very much~
>>>>
>>>> Emerson
>>>>
>>>
>>>
>>
>
Re: How to pass the TestHplsqlDb test in hive-hplsql?
Posted by Dmitry Tolpeko <dm...@gmail.com>.
Please try to find them in ./ql/src/test/queries/clientpositive directory
(see topn.q file for example).
Thanks,
Dmitry
On Mon, Aug 1, 2016 at 11:34 AM, Zhenyi Zhao <em...@gmail.com> wrote:
> Hi Dmitry,
>
> Thank you for your answer. you said “*src* and *sample_07* are
> sample tables supplied with Hive” , where can I find this infomation of
> these tables.
>
> Emerson
>
> 2016-08-01 16:27 GMT+08:00 Dmitry Tolpeko <dm...@gmail.com>:
>
>> Hi Emerson,
>>
>> I did not commit TestHplsqlDb.java since Apache Pre-commit test starts
>> executing it, and I did not manage how to pass it (there are connection
>> errors). I can commit it as java_ to prevent execution, or someone can help
>> with connection errors.
>>
>> Some table DDLs are here:
>> https://github.com/apache/hive/blob/master/hplsql/src/test/queries/db/schema.sql
>>
>> *src* and *sample_07* are sample tables supplied with Hive. By the way,
>> *src* table is used in many Hive tests.
>>
>> Thanks,
>> Dmitry
>>
>>
>>
>> On Mon, Aug 1, 2016 at 6:48 AM, Zhenyi Zhao <em...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> There is a unit test class named "TestHplsqlDb.java" I found at
>>> http://www.hplsql.org/downloads/hplsql-0.3.17-src.zip. But I want to
>>> know why this class dose't exsit at
>>> https://github.com/apache/hive/tree/master/hplsql.
>>>
>>> Now I want to test the hplsql‘s compatibility with hive datasource, but
>>> the tests failed.
>>>
>>> And my question is how to pass the "TestHplsqlDb.java" test , I found
>>> there are some tables required by the tests , like src , sample_07, src_dt
>>> and so on. But I could not find them to pass the test. How to init the
>>> test env?
>>>
>>> I' am waiting for your response. Thank you very much~
>>>
>>> Emerson
>>>
>>
>>
>
Re: How to pass the TestHplsqlDb test in hive-hplsql?
Posted by Zhenyi Zhao <em...@gmail.com>.
Hi Dmitry,
Thank you for your answer. you said “*src* and *sample_07* are sample
tables supplied with Hive” , where can I find this infomation of these
tables.
Emerson
2016-08-01 16:27 GMT+08:00 Dmitry Tolpeko <dm...@gmail.com>:
> Hi Emerson,
>
> I did not commit TestHplsqlDb.java since Apache Pre-commit test starts
> executing it, and I did not manage how to pass it (there are connection
> errors). I can commit it as java_ to prevent execution, or someone can help
> with connection errors.
>
> Some table DDLs are here:
> https://github.com/apache/hive/blob/master/hplsql/src/test/queries/db/schema.sql
>
> *src* and *sample_07* are sample tables supplied with Hive. By the way,
> *src* table is used in many Hive tests.
>
> Thanks,
> Dmitry
>
>
>
> On Mon, Aug 1, 2016 at 6:48 AM, Zhenyi Zhao <em...@gmail.com> wrote:
>
>> Hi all,
>>
>> There is a unit test class named "TestHplsqlDb.java" I found at
>> http://www.hplsql.org/downloads/hplsql-0.3.17-src.zip. But I want to
>> know why this class dose't exsit at
>> https://github.com/apache/hive/tree/master/hplsql.
>>
>> Now I want to test the hplsql‘s compatibility with hive datasource, but
>> the tests failed.
>>
>> And my question is how to pass the "TestHplsqlDb.java" test , I found
>> there are some tables required by the tests , like src , sample_07, src_dt
>> and so on. But I could not find them to pass the test. How to init the
>> test env?
>>
>> I' am waiting for your response. Thank you very much~
>>
>> Emerson
>>
>
>
Re: How to pass the TestHplsqlDb test in hive-hplsql?
Posted by Dmitry Tolpeko <dm...@gmail.com>.
Hi Emerson,
I did not commit TestHplsqlDb.java since Apache Pre-commit test starts
executing it, and I did not manage how to pass it (there are connection
errors). I can commit it as java_ to prevent execution, or someone can help
with connection errors.
Some table DDLs are here:
https://github.com/apache/hive/blob/master/hplsql/src/test/queries/db/schema.sql
*src* and *sample_07* are sample tables supplied with Hive. By the way,
*src* table is used in many Hive tests.
Thanks,
Dmitry
On Mon, Aug 1, 2016 at 6:48 AM, Zhenyi Zhao <em...@gmail.com> wrote:
> Hi all,
>
> There is a unit test class named "TestHplsqlDb.java" I found at
> http://www.hplsql.org/downloads/hplsql-0.3.17-src.zip. But I want to know
> why this class dose't exsit at
> https://github.com/apache/hive/tree/master/hplsql.
>
> Now I want to test the hplsql‘s compatibility with hive datasource, but
> the tests failed.
>
> And my question is how to pass the "TestHplsqlDb.java" test , I found
> there are some tables required by the tests , like src , sample_07, src_dt
> and so on. But I could not find them to pass the test. How to init the
> test env?
>
> I' am waiting for your response. Thank you very much~
>
> Emerson
>