Skip to content

KSQL editor regards one insert statement as many, and blocks it #762

@credmond

Description

@credmond

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

Run single statement:


                INSERT INTO dummy_stream
                SELECT
                  '1' AS id,
                  'Item1' AS name,
                  100 AS value
                UNION ALL
                SELECT
                  '2' AS id,
                  'Item2' AS name,
                  200 AS value
                UNION ALL
                SELECT
                  '3' AS id,
                  'Item3' AS name,
                  300 AS value;

The UI reports an error saying only one statement is supported

Expected behavior

That the valid statement isn't incorrectly detected as "multiple", and therefore blocked.

Your installation details

master (8ddda3d)

Steps to reproduce

Already in description.

Screenshots

image

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions