Created
October 28, 2018 08:58
-
-
Save ashkrit/b26ccee85f6424e0c75d508ae255f091 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
| val issueDate = LocalDate.parse(row(aggFieldsOffset.get("issue date").get), ISSUE_DATE_FORMAT) | |
| val issueDateValues = mutable.Set[Int]() | |
| issueDateValues.add(issueDate.toEpochDay.toInt) | |
| result = (fieldOffset.map(fieldInfo => row(fieldInfo._2)).mkString(","), (1, issueDateValues)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment