Created
May 10, 2017 00:08
-
-
Save dgadiraju/0d3fc8c5921e8fe62695c5c2a7734856 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case class Order( | |
| orderId: Int, | |
| orderDate: String, | |
| orderCustomerId: Int, | |
| orderStatus: String | |
| ) | |
| val os = List( | |
| Order(1, "2017-01-01", 100, "COMPLETE"), | |
| Order(2, "2017-01-01", 20, "CLOSED"), | |
| Order(3, "2017-01-01", 301, "PENDING"), | |
| Order(4, "2017-01-01", 202, "CLOSED"), | |
| Order(5, "2017-01-01", 3013, "COMPLETE"), | |
| Order(6, "2017-01-01", 203, "PENDING"), | |
| Order(7, "2017-01-01", 3014, "COMPLETE"), | |
| Order(8, "2017-01-01", 20, "NEW"), | |
| Order(9, "2017-01-01", 301, "PENDING"), | |
| Order(10, "2017-01-01", 2, "CLOSED"), | |
| Order(11, "2017-01-01", 1, "COMPLETE"), | |
| Order(12, "2017-01-01", 3, "NEW"), | |
| Order(13, "2017-01-01", 301, "COMPLETE") | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment