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

Support PostgreSQL default value function calls with schema prefixes

XMLWordPrintable

      In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.

      Bug report

      For bug reports, provide this information, please:

      What Debezium connector do you use and what version?

      Debezium - PostgreSQL
      Version: 1.9.2.Final

      What is the connector configuration?

      connector.properties

      What is the captured database version and mode of depoyment?

      (E.g. on-premises, with a specific cloud provider, etc.)

      <Your answer>

      What behaviour do you expect?

      No warnings for table columns with default value generated by public.gen_random_uuid()

      WARN Cannot parse column default value 'public.gen_random_uuid()' to type 'uuid'. Expression evaluation is not supported. (io.debezium.connector.postgresql.connection.PostgresDefaultValueConverter:88) 

      What behaviour do you see?

      WARN Cannot parse column default value 'public.gen_random_uuid()' to type 'uuid'. Expression evaluation is not supported. (io.debezium.connector.postgresql.connection.PostgresDefaultValueConverter:88)  

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

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

      No, we tested it against Version: 1.9.2.Final for our platform, did not try on v1.9.4.Final.
      Please let us know if this has been fixed in 1.9.3 or 1.9.4.

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

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

      connect.log

      How to reproduce the issue using our tutorial deployment?

      Simply create a connector with this configuration uses

      org.apache.kafka.connect.json.JsonConverter 

      connector.properties

      and use table with column default to

      id uuid DEFAULT public.gen_random_uuid() NOT NULL 

      schema.sql

      Feature request or enhancement

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

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

      table with uuid column default generated by public.gen_random_uuid()

      Implementation ideas (optional)

      <Your answer>

        1. connector.properties
          0.9 kB
        2. connect.log
          11 kB
        3. schema.sql
          0.6 kB

              ccranfor@redhat.com Chris Cranford
              felixwu-1 Felix Wu (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: