Outer Join

I am trying to convert a HIVE SQL that includes a left outer join. I don't see that in a JOIN recipe. How do I add it?
Operating system used: Windows
Answers
-
Hi!
I hope that you are doing well.
In the join recipe we offer:
- Left Join which keeps all rows of the left dataset and adds information of matched records from the right dataset.
- Outer Join which keeps all rows from both datasets, combining rows where there is a match. This is useful when you need to retain all the information in both datasets.
(You can find all available join here:
)Here i believe that the best match to a Left outer join would be to use Left join.
What is your exact need? Is there any limitation encountered using left join here? If so let me know so we can find the best way to cover your use case.
Best,
Yasmine
-
Using the left join worked. Now I am trying to delete records from a dataset where there are four conditions that match. Kind of like a DELETE query in SQL. Any suggestions?
-
Yes! You can use a prepare recipe with the Filter rows/cells with formula processor: https://doc.dataiku.com/dss/latest/preparation/processors/filter-on-formula.html
There are a few approach you can take here but this processor would be the easiest option i believe:)
Best,
Yasmine
-
You can also do a SQL recipe if that is easier/familiar to you:
See:
Best,
Yasmine