You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2016/05/09 22:08:12 UTC

[jira] [Resolved] (PHOENIX-2564) sqlline.py does not support sql files that start with '--'

     [ https://issues.apache.org/jira/browse/PHOENIX-2564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Taylor resolved PHOENIX-2564.
-----------------------------------
    Resolution: Duplicate

Duplicate of CALCITE-1223 and subsequently moved to https://github.com/julianhyde/sqlline/issues/42.

> sqlline.py does not support sql files that start with '--'
> ----------------------------------------------------------
>
>                 Key: PHOENIX-2564
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2564
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Nick Dimiduk
>            Priority: Minor
>
> The [language reference:http://phoenix.apache.org/language/index.html#comments] implies that line comments starting with {{--}} are accepted. {{sqlline.py}} doesn't support this syntax.
> {noformat}
> $ sqlline.py foo:2181 bar.sql
> ...
> 1/25         --
> Aborting command set because "force" is false and command failed: "--"
> Closing: org.apache.phoenix.jdbc.PhoenixConnection
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)