@ is a SQL Server extension. Calcite does not support it.

Julian

> On Mar 3, 2016, at 1:54 AM, sha p <[email protected]> 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

Reply via email to