Member since
07-14-2022
4
Posts
0
Kudos Received
0
Solutions
09-13-2022
04:15 AM
HI while using the JoltTransformJSON , found some limitation of methods like (=min(),=max(),=intsum()). Not getting the expected result. Please add suggestions if we have a solution for this issue. thanks. Json Input========================================= { "NUMBER": { "array1": [ 9223372036854775807 ], "array2": [ 4294967295 ], "array3": [ 2147483646 ] } } Jolt Spec=========================== [ { "operation": "modify-overwrite-beta", "spec": { "NUMBER": { "sumArray1": "=intSum(@(1,array1))", "maxArray1": "=max(@(1,array1))", "minArray1": "=min(@(1,array1))", "sumArray2": "=intSum(@(1,array2))", "maxArray2": "=max(@(1,array2))", "minArray2": "=min(@(1,array2))", "sumArray3": "=intSum(@(1,array3))", "maxArray3": "=max(@(1,array3))", "minArray3": "=min(@(1,array3))" } } } ] { "NUMBER": { "array1": [9223372036854775807], "array2": [4294967295], "array3": [2147483646], "sumArray1": -1, "maxArray1": 9223372036854775807, "minArray1": 2147483647, "sumArray2": -1, "maxArray2": 4294967295, "minArray2": 2147483647, "sumArray3": 2147483646, "maxArray3": 2147483646, "minArray3": 2147483646 } }
... View more
Labels:
- Labels:
-
Apache NiFi
07-27-2022
01:46 PM
1 Kudo
@shashikumar Although I do not recommend this, due to creating confusion, you certainly can symlink the file paths on any linux system. Just be sure the permissions are correct on the final new path, then create the symlink back to the old paths.
... View more
07-21-2022
01:24 AM
hi @MattWho Thanks for the reply. this is the exact information I wanted.
... View more