I have two csv files (datasets) file1 and file2.
File1 consists of following columns:
Orders | Requests | Book1 | Book2
Varchar| Integer | Integer| Integer
File2 consists of following columns:
Book3 | Book4 | Book5 | Orders
String| String| Varchar| Varchar
How to combine the data in two CSV files in scala to check:
- how many
- Orders, Book1(Ignore Book1 having value = 0), Book3 and Book4 are present in both files for each Orders
- Note: column Orders is common in both files
ordersrepresent? what is the logical relationship between the two files? What is the purpose of this join? - Yaron