You are right. Seems it's caused by bad version of Avatica on my local
repo. Tried on a new machine and I did not run into this problem.

Thanks.



On Tue, May 24, 2016 at 11:05 AM, Julian Hyde <[email protected]> wrote:
> It works for me. Do you maybe have a bad version of Avatica in your local 
> repo?
>
> The method signature (pardon the pun) looks good as of Avatica-1.7.1. The 
> last time it changed was https://issues.apache.org/jira/browse/CALCITE-705 
> <https://issues.apache.org/jira/browse/CALCITE-705> (Calcite 1.5).
>
> Julian
>
>
>> On May 24, 2016, at 8:15 AM, Jinfeng Ni <[email protected]> wrote:
>>
>> Hi,
>>
>> I built calcite from today's master branch (commit id:
>> f191a386aedaee05c6ffcc1d4b155193bfa4ca01).
>>
>> Try to run Calcite's sqlline, and hit the following error:
>>
>> !connect jdbc:calcite:model=core/target/test-classes/hsqldb-model.json
>> admin admin
>>
>> !tables
>> java.lang.NoSuchMethodError:
>> org.apache.calcite.avatica.Meta$Signature.<init>(Ljava/util/List;Ljava/lang/String;Ljava/util/List;Ljava/util/Map;Lorg/apache/calcite/avatica/Meta$CursorFactory;Lorg/apache/calcite/avatica/Meta$StatementType;)V
>> at 
>> org.apache.calcite.jdbc.CalcitePrepare$CalciteSignature.<init>(CalcitePrepare.java:318)
>> at org.apache.calcite.jdbc.CalciteMetaImpl$3.<init>(CalciteMetaImpl.java:202)
>>
>> Is there something broken, or I miss some special setup for avatica to
>> make it work properly?
>>
>> Thanks!
>

Reply via email to