Glad it worked out! Let us know if you have any other questions. -yolanda
> On Oct 6, 2016, at 3:49 PM, Karthik Ramakrishnan > <[email protected]> wrote: > > Hi Yolanda, > > Thanks!! This is working. I guess I added too many specifications in the > spec. Unlike the demo-app this doesn't need the operations fields and the > spec fields. > > Regards, > Karthik > >> On Thu, Oct 6, 2016 at 2:29 PM, Yolanda Davis <[email protected]> >> wrote: >> Hi Karthik, >> >> I tried this out and I think I have something that matches the snapshot you >> sent using the demo app. I've included below pictures of my configs (one >> using Shift and one using Chain Spec DSL) >> >> <image.png> >> >> <image.png> >> >> Also here is the spec I used for the Shift: >> >> { >> "operation": "OPS", >> "dest": "table", >> "beforekey": { >> "*": "before-&" >> }, >> "row": { >> "*": "&" >> } >> } >> >> I hope this helps! Please let me know if you have questions. >> >> -yolanda >> >> >> >>> On Thu, Oct 6, 2016 at 1:07 PM, Karthik Ramakrishnan >>> <[email protected]> wrote: >>> Matt / Yolanda, >>> >>> Thanks for taking the reply. I just found time to work on this. I removed >>> the array brackets from the spec and changed it to 'shift', but this is the >>> only output I am getting as of now. >>> >>> { >>> "shift": "Update" >>> } >>> >>> >>> I am not getting the entire tree as in the app-demo. Is there something >>> else I need to change? >>> >>> >>> Thanks, >>> Karthik R. >>> >>>> On Wed, Oct 5, 2016 at 7:43 PM, Yolanda Davis <[email protected]> >>>> wrote: >>>> Matt is absolutely correct, your specification is actually in the form of >>>> Chain spec, where you could have one or more operations defined. In your >>>> case you have just one operation in your chain so you can try changing the >>>> drop down to Chain or edit your your specification to only include the >>>> portion that is in braces next to the "spec" variable as Matt suggested >>>> and leave the specification type as Shift. Either method should fix the >>>> issue. >>>> >>>> Please let us know how it goes! >>>> >>>> Yolanda >>>> >>>> Sent from my iPhone >>>> >>>>> On Oct 5, 2016, at 7:40 PM, Matt Burgess <[email protected]> wrote: >>>>> >>>>> I'm not near my computer but my knee-jerk reaction is that all the >>>>> jolt-app-demo transforms are actually Chain transforms, some (like your >>>>> example) with a single transform inside (like a Shift). Try removing the >>>>> array brackets if you're selecting a Shift transform, or choose Chain and >>>>> keep them in. >>>>> >>>>> Yolanda knows MUCH more about this than I do, so if that doesn't fix your >>>>> problem, she likely has the solution (or will identify any bug). No >>>>> pressure Yolanda ;) >>>>> >>>>> Regards, >>>>> Matt >>>>> >>>>>> On Oct 5, 2016, at 7:13 PM, Karthik Ramakrishnan >>>>>> <[email protected]> wrote: >>>>>> >>>>>> Hi Yolanda, >>>>>> >>>>>> Thanks for taking this up. >>>>>> >>>>>> I am running NiFi 1.0.0 in my local. I have attached the screen from >>>>>> both the Processor's Advanced UI and the Jolt Transform Demo website. >>>>>> >>>>>> If I click Transform - There is no change in the UI. It doesn't even >>>>>> throw and error. When I see the processor in the main UI, it is giving >>>>>> the error which I had mentioned. Appreciate any help possible. TIA >>>>>> >>>>>> Regards, >>>>>> Karthik >>>>>> >>>>>> >>>>>>> On Wed, Oct 5, 2016 at 5:33 PM, Yolanda Davis >>>>>>> <[email protected]> wrote: >>>>>>> Hi Karthik, >>>>>>> >>>>>>> What version of NiFi are you using? Also do you mind sharing the >>>>>>> specification that you are attempting to use? If you could provide a >>>>>>> picture/snapshot of the processor's configuration using the Advance UI >>>>>>> that would help me to try to recreate the problem or provide a solution. >>>>>>> >>>>>>> Thanks, >>>>>>> >>>>>>> Yolanda >>>>>>> >>>>>>>> On Wed, Oct 5, 2016 at 4:29 PM, Karthik Ramakrishnan >>>>>>>> <[email protected]> wrote: >>>>>>>> Hello - >>>>>>>> >>>>>>>> I am using the JoltTransformJSON processor for a Jolt transformation. >>>>>>>> I am getting an error: >>>>>>>> >>>>>>>> " is invalid because Specification is not valid for the given >>>>>>>> transformation >>>>>>>> >>>>>>>> I am using a "Shift" DSL and my spec is working while testing in - >>>>>>>> http://jolt-demo.appspot.com/ >>>>>>>> >>>>>>>> Can anyone throw some light on this? This is the only blocker that is >>>>>>>> hindering my flow as of now. >>>>>>>> >>>>>>>> Thanks!!! >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Thanks, >>>>>>>> Karthik Ramakrishnan >>>>>>>> Intern - Data Services >>>>>>>> Copart Inc. >>>>>>>> Contact : +1 (469) 951-8854 >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> -- >>>>>>> [email protected] >>>>>>> @YolandaMDavis >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Thanks, >>>>>> Karthik Ramakrishnan >>>>>> Contact : +1 (469) 951-8854 >>>>>> >>>>>> <NiFi - Issue 2.PNG> >>>>>> <NiFi - Issue 1.PNG> >>> >>> >>> >>> -- >>> Thanks, >>> Karthik Ramakrishnan >>> Contact : +1 (469) 951-8854 >> >> >> >> -- >> -- >> [email protected] >> @YolandaMDavis > > > > -- > Thanks, > Karthik Ramakrishnan > Contact : +1 (469) 951-8854 >
