[ 
https://issues.apache.org/jira/browse/CALCITE-1938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16125117#comment-16125117
 ] 

Francis Chuang edited comment on CALCITE-1938 at 8/14/17 1:15 AM:
------------------------------------------------------------------

[~elserj] The tests are integration tests, so you'd need to have an instance of 
Phoenix and PQS available. In my tests, I use my HBase-Phoenix docker image 
with transactions and PSQ enabled: 
https://github.com/Boostport/hbase-phoenix-all-in-one

Once this is done, you need to set the AVATICA_HOST environment variable to 
point to PQS.

The tests do take a while to run (because creating and deleting schemas and 
tables can be a bit slow), but if the PQS is not available after 5 minutes, the 
tests should timeout and fail.

You can check out how the tests are set up and executed on Wercker here: 
https://github.com/apache/calcite-avatica-go/blob/master/wercker.yml


was (Author: francischuang):
[~elserj] The tests are integration test, so you'd need to have an instance of 
phoenix and PQS available. In my tests, I use my HBase-Phoenix docker image 
with transactions and PSQ enabled: 
https://github.com/Boostport/hbase-phoenix-all-in-one

Once this is done, you need to set the AVATICA_HOST environment variable to 
point to PQS.

The tests do take a while to run (because creating and deleting schemas and 
tables can be a bit slow), but if the PQS is not available after 5 minutes, the 
tests should timeout and fail.

You can check out how the tests are set up and executed on Wercker here: 
https://github.com/apache/calcite-avatica-go/blob/master/wercker.yml

> First Apache release for Avatica Go
> -----------------------------------
>
>                 Key: CALCITE-1938
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1938
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica-go
>            Reporter: Julian Hyde
>            Assignee: Francis Chuang
>
> Make a release for Avatica Go.
> Release number is TBD.
> This will be the first Apache release for Avacica Go, so expect more 
> diligence / issues than usual.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to