Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-14230

Python JDBC API don't recognize "statement" parameter

Details

    • Bug
    • Status: Open
    • P2
    • Resolution: Unresolved
    • 2.35.0
    • None
    • cross-language

    Description

      JDBC write API allow a "statement" parameter to pass custom INSERT statements (e.g. UPSERTs).

      However, when I pass a "statement" parameter in apache_beam.io.jdbc.WriteToJdbc(), I still see the usual INSERT coming in my Postgres logs.

      Additional context in this mailing list thread.

      https://lists.apache.org/thread/doy941o8f6lg5jq47vvftbcfg3849ztc

      Attachments

        Issue Links

          Activity

            People

              pabloem Pablo Estrada
              deepix Deepak Nagaraj
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m