Skip to content

[jdbc-v2] Statement that not detected has no result set. #2784

Description

@chernser

Description

Statement like SELECT number, FROM system.numbers LIMIT 1 is not recognized by parser but valid.
In this case no result set is returned.

Expected behavior:

  • when parser fails to parse statement but it passed to server and no error occurs result set should be returned
  • when result set for unknown statement type is missing and executeQuery() called then exception should be throws according to the JDBC
  • when result set for unknown statement type is missing and execute() is called then false should be returned indicating that result set is missing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions