Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have to create big data spark job and have two dataset
Fact
| Col1 | Col2 | Col3 |
| 101 | ABC | 123 |
| 102 | All | 234 |
| 103 | XYZ | 345 |
Dim
| Col1 | Col2 | Col3 |
| 1001 | XYZ | 345 |
| 1002 | WED | 234 |
| 1003 | WER | 123 |
and need to join above tables based on Col2, Col3. Wherever "All" is there like in Fact table, row 2 where Col2="All", then we have to consider that field for all values. Output would be for above dataset
| Col1 | Col2 | Col3 | Col1 | Col2 | Col3 |
| 1001 | XYZ | 345 | 103 | XYZ | 345 |
| 1002 | WED | 234 | 102 | All | 234 |
How to handle this scenario? Confused....
not sure what u r saying.. Can you explain it more?