O'Reilly logo

Learning Cascading by Victoria Loewengart, Michael Covert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Putting it all together

This code illustrates how to put together a simple Cascading application, which takes inputs from two CSV (comma-separated value) files and joins them in common fields.

Here is the problem: in some organizations, employees are also published authors. We would like to compile a list of employees who are authors, and add department information to the list.

We have two CSV files: one file contains data on author's name, organization, journal title, and a keyword (the topic of their published work), and the second file contains department names and employee names. Our desired resultant list is the list of employees who are also authors, including their organization, department, journal title, and keyword. We will describe step ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required