Member since
06-13-2016
2
Posts
2
Kudos Received
0
Solutions
06-13-2016
07:42 PM
2 Kudos
I've worked out how to pull down information from online json and parse the basics into attributes and write those out to a file. I would like to split one of those attributes from 1 to two different attributes....This seems basic to me, but for the life of me I can't seem to work out the logic in NiFi For example: attribute1 = 2016-06-13T11:52:19-05:00 I'd like to split that on the T into two attributes like the following: attribute2: 2016-06-13 attributes3: 11:52:19-05:00 In Python this is just date, time = timestamp.split('T', 1), but alas Nifi is eluding me with the end goal is to write this out into a flat file or Hive, but either way there are a bunch of needs I'll have for something like the above split.
... View more
Labels:
- Labels:
-
Apache NiFi