Member since
05-30-2019
4
Posts
0
Kudos Received
0
Solutions
12-18-2018
08:45 AM
Output Grouping... magical property 🙂 That did the trick. Thanks a lot Matt!
... View more
12-17-2018
03:04 PM
I have a json input which structure is as follows: [
{
"line": [
{
"element1": 4.908278133674332,
"element2": 45.8293948360587
},
{
"element1": 4.90838573779603,
"element2": 45.82938855483125
}
],
"coord": 1749,
"xenius": "LYO01749",
"label": "R M. BASTIE",
"date": "2018-12-17"
},
{
"line": [
{
"element1": 7.908278133674332,
"element2": 8.8293948360587
},
{
"element1": 4.555,
"element2": 42.34534
}
],
"coord": 223,
"xenius": "LYO01749",
"label": "R M. BASTIE",
"date": "2018-12-17"
}
] And I would like to convert it into a list of json elements. Something like: {
"line": [
{
"element1": 4.908278133674332,
"element2": 45.8293948360587
},
{
"element1": 4.90838573779603,
"element2": 45.82938855483125
}
],
"coord": 1749,
"xenius": "LYO01749",
"label": "R M. BASTIE",
"date": "2018-12-17"
}
{
"line": [
{
"element1": 7.908278133674332,
"element2": 8.8293948360587
},
{
"element1": 4.555,
"element2": 42.34534
}
],
"coord": 223,
"xenius": "LYO01749",
"label": "R M. BASTIE",
"date": "2018-12-17"
} How could I do that with a json or jolt transformation, and not using SplitRecord? Please note that I just want to get all the elements of the array and output them as a list of json elements, without the parent array. Thanks in advance.
... View more
Labels:
- Labels:
-
Apache NiFi
12-13-2018
04:00 PM
Age of duration seems to be a straight forward solution. I thought in using DetectDuplicate, but we need here an external db to achieve that. Thank you very much for the help, Shu.
... View more
12-13-2018
11:14 AM
I have a ReplaceText that generates a Hive query. As an output flowfile, I have several records with the same Hive query, that I use to run a PutHiveQl processor. So that, the PutHiveQL processor is executed several times, but I only need it to run once. How could I do that? Is there a way to remove all ReplaceText output records but one? Any help would be really appreciated.
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache NiFi