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

df.merge with identically-named `on` columns produces duplicate output columns

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 2.26.0, 2.27.0
    • Fix Version/s: 2.28.0
    • Component/s: sdk-py-core
    • Labels:
      None

      Description

      For example, when joining on 'a' in both df1 and df2:

      Failed example:
          df1.merge(df2, how='inner', on='a')
      Expected:
          0   foo  1  3
                a  b  c
      Got:
          0  foo  1  foo  3
             a_x  b  a_y  c
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bhulette Brian Hulette
                Reporter:
                bhulette Brian Hulette
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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