Skip to content

Support CLI to execute multiple statements #1842

@xd1313113

Description

@xd1313113

Relevant Issue/Bug

We are support parsing multiple statements in AST parser, but CLI supports only one statement at a time.

partiql ▶ SELECT a FROM T as t1 WHERE b = (SELECT t2.b FROM T AS t2 WHERE t2.b = t2.b);
   | SELECT a FROM T as t1 WHERE b = (SELECT t2.b FROM T AS t2 WHERE t2.b = t2.b);

Expected exactly one statement, got: 2

Requested Solution/Feature

Support CLI to execute multiple statements

Describe Alternatives

Execute statement one by one

Additional Context

spec, shall we execute sequentially or async execution.

DoD (Definition of Done)

List set of criteria that characterize this issue as DONE or COMPLETED.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions