Member since
08-25-2016
10
Posts
3
Kudos Received
0
Solutions
07-03-2018
01:24 AM
Matt, this works great - but is there a way to apply the same shift operation recursively to nested fields with colons as well. EX: { "sourceTimeStamp": "2018-06-21T17:35:48Z", "msgType": "blah", "Ref": 71768908, "fdm:Information": { "fdm:first":{ "fdm:last": etc } } } Thanks, for the XML tips for 1.7.
... View more
07-02-2018
09:28 PM
Hello, I'm trying to convert JSON to Avro in Nifi. The problem is that some of the fields have ":" in their names -- which is not allowed in avro. (JSON was translated from XML that had namespaces) EX: { "sourceTimeStamp": "2018-06-21T17:35:48Z", "msgType": "blah", "Ref": 71768908, "fdm:Information": { ... } } Would it be easier to just go from XML (with name spaces) to Avro? Any suggestions? Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi
05-30-2018
02:30 PM
If you use an "invalid" schema will it be able to write to avro? I can see how that could work for transforming from csv to json - but I don't think it will work for avro, due to the rules.
... View more
05-29-2018
07:02 PM
I've had pretty good success converting csv to json and avro using the ConvertRecord processor. However I'm having issues converting a csv file with spaces in the header (column names) Ex CSV: "Date of Birth" 01-23-1981 Is there a way to replace the spaces ' ' with '_' on just the header row? Is there another way to handle column/field names with spaces when using the ConvertRecord procesors when converting to avro?
... View more
Labels:
- Labels:
-
Apache NiFi
09-08-2016
08:26 PM
2 Kudos
Hello, I'm currently converting csv files into avro and I'd like to store the date time stamps as unix (milliseconds). Is there a way to go about this in NiFi? Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi