Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-9242

TableIdParse parse wrong tableId in postgresql connector

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Important

      Bug report

      There was a table Identity "test_dd"."test''dd"

      and when using decodebuf, message.getTable() return str: test_dd."test''dd"

      and when using TableId.oarseParts, the Idntity becomes test_dd . test'dd

      beacues in this code 

       

      we replace '' to '  

       

      What Debezium connector do you use and what version?

      latest

       

      What is the captured database version and mode of deployment?

      postgresql

      What behavior do you expect?

      tableId was test_dd.test''dd

      What behavior do you see?

      tableId was test_dd.test'dd

      Do you see the same behaviour using the latest released Debezium version?

      (Ideally, also verify with latest Alpha/Beta/CR version)

      <Your answer>

      Do you have the connector logs, ideally from start till finish?

      (You might be asked later to provide DEBUG/TRACE level log)

      <Your answer>

      How to reproduce the issue using our tutorial deployment?

      <Your answer>

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      <Your answer>

      Implementation ideas (optional)

      <Your answer>

              Unassigned Unassigned
              saximoer sheng pu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: