Skip to content

Commit

Permalink
Ignore result rows where the right values are null
Browse files Browse the repository at this point in the history
  • Loading branch information
Ackuq committed Mar 2, 2022
1 parent a15aeca commit a27360e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scala/src/main/scala/Union.scala
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ object Union {
)
// Invalid candidates are those where the left values are not existing
.filter(col(leftTS).isNotNull)
.filter(col(rightTS).isNotNull)
.drop(DF_INDEX_COLUMN)
.drop(COMBINED_TS_COLUMN)

Expand Down

0 comments on commit a27360e

Please sign in to comment.