Skip to content

SQL statement parameter casting is wrong when IN (..) operator is used. #162

@az-joss

Description

@az-joss

Logstash information:

  1. Logstash version: 7.17
  2. Logstash installation source: docker (logstash 7.17.18)
  3. How is Logstash being run: docker
  4. How was the Logstash: OOTB
  5. JDBC: mariadb-java-client-3.3.3.jar

Steps to reproduce:

  1. create a pipeline with jdbc_steaming filter
  2. have prepared statement with in (1,2,3 ..) operator in where clause.
  3. define parameter(s) via prepared_statement_bind_values

Extra (if relevant)

More description in the discuss portal: https://discuss.elastic.co/t/jdbc-streaming-filter-with-sql-in-condition/354429

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions