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

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

Details

    • Bug
    • Status: Resolved
    • P1
    • Resolution: Fixed
    • 2.26.0, 2.27.0
    • 2.28.0
    • sdk-py-core
    • 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

              bhulette Brian Hulette
              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