Skip to content

Query fails with comment at the end in Clickhouse #1082

@carlesalbasboix

Description

@carlesalbasboix

Bug Description

Trying to execute this query fails in Clickhouse:

select * from numbers(10);
-- This is a comment

The error is:

Syntax error (Multi-statements are not allowed): failed at position 26 (end of query) (line 1, col 26): ;
-- This is a comment
FORMAT JSONCompactEachRowWithNamesAndTypes. .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions