Skip to content

output_mode=json yields ExecuteQueryWriter does not implement parsed #160

@andres-lowrie

Description

@andres-lowrie

Hello,

I'm trying to get back a json object when parsing a query via the cli tool, but I'm getting back a
ExecuteQueryWriter does not implement parsed
instead.

The same query (which is a dummy query) does work when I pass in --output_mode=box

Wondering if this is a known issue or if I'm holding it wrong.

System: macos
Build: 2024.11.1

In the following example I've named the binary zetasqlcli

[I] ~> zetasqlcli --mode=parse --output_mode=box 'select * from tbl;'
QueryStatement [0-17]
  Query [0-17]
    Select [0-17]
      SelectList [7-8]
        SelectColumn [7-8]
          Star(*) [7-8]
      FromClause [9-17]
        TablePathExpression [14-17]
          PathExpression [14-17]
            Identifier(tbl) [14-17]

[I] ~>  zetasqlcli --mode=parse --output_mode=json 'select * from tbl;'
ExecuteQueryWriter does not implement parsed

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