You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by sha p <sh...@gmail.com> on 2016/03/03 10:54:32 UTC

Getting error "calcite.sql.parser.impl.ParseException: Encountered ""

hi,
 When i give a query like below
select @MIN_PERIOD+1;
I am getting an error  :

org.apache.calcite.sql.parser.impl.ParseException: Encountered "<EOF>" at
line 1, column 22.

Infant the query is running fine in SQL 2008 DB.
Please let me know how to solve this problem or is it a bug in calcite ?

thank you.
~Shyam

Re: Getting error "calcite.sql.parser.impl.ParseException: Encountered ""

Posted by Julian Hyde <jh...@apache.org>.
@ is a SQL Server extension. Calcite does not support it.

Julian

> On Mar 3, 2016, at 1:54 AM, sha p <sh...@gmail.com> wrote:
> 
> hi,
> When i give a query like below
> select @MIN_PERIOD+1;
> I am getting an error  :
> 
> org.apache.calcite.sql.parser.impl.ParseException: Encountered "<EOF>" at
> line 1, column 22.
> 
> Infant the query is running fine in SQL 2008 DB.
> Please let me know how to solve this problem or is it a bug in calcite ?
> 
> thank you.
> ~Shyam