Member since
05-12-2020
10
Posts
0
Kudos Received
2
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1720 | 07-27-2020 10:52 AM | |
| 5023 | 06-19-2020 07:37 AM |
07-27-2020
10:52 AM
Ignore, I figured it out. Hate to say it, but I am working with the UCS satellite database as input - it has 36 fields - Eccentricity is one of the fields. I forgot to add a default value for this field for handling nulls.
... View more
07-24-2020
12:09 PM
I created a small input file that produces 9 splits. In each split, none of the fields contained a null value, so nulls are not the problem as someone in StackOverflow suggested. MergeRecord still threw the error when it tried to merge the 9 records.
... View more
07-24-2020
10:00 AM
Does anyone know what the error in the subject line of this message means? I am using SplitRecord processor, checking for duplicate records (removed for testing), then trying to use MergeRecord to put all the splits back into one file, but MergeRecord fails with "Field Eccentricity Cannot Be Null" Error. I have not found information on the meaning of this error. Thanks in advance if you know.
... View more
Labels:
- Labels:
-
Apache NiFi
06-19-2020
07:37 AM
This post does not need any more views, I have solved the problem: The first line of my data is column headers. In latter case, in CSVReader, when Schema Access Strategy is set to Use 'Schema Name' Property, then Treat First Line as Header needs to be set to True. The property Ignore CSV Header Column Names also needs to be set to True otherwise if there are field name mismatches between the input file and the schema, the input file names will be used instead of the schema. Alternative: I was able to set Schema Access Strategy to Use String Fields From Header, and that worked, but it ignores your schema, if you have one set up. jc
... View more
06-18-2020
07:39 AM
Update: template for flow titled CountryCodeLookup.xml is in GitHub: https://github.com/johndcal/NiFi-Tutorial-5-Files Hello, Can anyone help me with this? Below is the data that I am trying to parse and the schema being used to parse it. Should I be looking at something else? Will provide more info if needed. Thanks, jc Data: name,loc_id,launch,norad_number,classification NOAA 19,US,2009-02-06,33591,Weather GOES 13,US,2006-05-24,29155,TV SAUDISAT 1C,SA,2002-12-20,27607,Education METEOR M2,RU,2014-07-08,40069,Weather MEASAT 3,MY,2006-12-11,29648,TV Schema: { "type": "record", "namespace": "satellites", "name": "satdata_in", "fields": [ { "name": "name", "type": "string" }, { "name": "loc_id", "type": "string" }, { "name": "launch", "type": "string" }, { "name": "norad_number", "type": "int" }, { "name": "classification", "type": "string" } ] }
... View more
Labels:
- Labels:
-
Apache NiFi
05-15-2020
12:51 PM
Is the namespace field in an AVRO schema required? Does the namespace first have to be created if you provide it in the schema? Not sure how this works. Thanks, johndcal
... View more
Labels:
- Labels:
-
NiFi Registry