Re: [Dev] Error executing script when incremental processing enabled

2017-02-01 Thread Rukshani Weerasinha
Hi Sachith, Do you have any feedback on these changes? Best Regards, Rukshani. On Thu, Jan 26, 2017 at 9:56 AM, Rukshani Weerasinha wrote: > Hi all, > > Now I have changed [1] based on the information given in this thread about > the time period. The examples given were

Re: [Dev] Error executing script when incremental processing enabled

2017-01-25 Thread Rukshani Weerasinha
Hi all, Now I have changed [1] based on the information given in this thread about the time period. The examples given were also changed to show how the processing is done based on the minutes and hours instead of seconds and minutes. @Sachith and Shazni, can you please check the changes and let

Re: [Dev] Error executing script when incremental processing enabled

2017-01-25 Thread Rukshani Weerasinha
Thank you Shavi. I will change this and let you know once it is done. On Wed, Jan 25, 2017 at 5:15 PM, Shavindri Dissanayake wrote: > Adding Ruk. > > Thanks & Regards > Shavindri Dissanayake > Technical Writer > > WSO2 Inc. > lean.enterprise.middleware > > On Wed, Jan 25,

Re: [Dev] Error executing script when incremental processing enabled

2017-01-25 Thread Shavindri Dissanayake
Adding Ruk. Thanks & Regards Shavindri Dissanayake Technical Writer WSO2 Inc. lean.enterprise.middleware On Wed, Jan 25, 2017 at 5:03 PM, Shazni Nazeer wrote: > There's also a change in the second param of the incrementalParams as DAY, > HOUR instead of number of seconds as

Re: [Dev] Error executing script when incremental processing enabled

2017-01-25 Thread Shazni Nazeer
There's also a change in the second param of the incrementalParams as DAY, HOUR instead of number of seconds as mentioned in the documentation. @Documentation - could this page be corrected? On Wed, Jan 25, 2017 at 4:52 PM, Shazni Nazeer wrote: > Thanks Fazlan. > > That'll be

Re: [Dev] Error executing script when incremental processing enabled

2017-01-25 Thread Shazni Nazeer
Thanks Fazlan. That'll be useful. Only difference I see is primary key comes prior to incrementalParams. I'll try this out. On Wed, Jan 25, 2017 at 4:44 PM, Fazlan Nazeem wrote: > Hi Shazni, > > Please check [1] for how we use incrementalParams in APIM-Analytics > scripts. >

Re: [Dev] Error executing script when incremental processing enabled

2017-01-25 Thread Fazlan Nazeem
Hi Shazni, Please check [1] for how we use incrementalParams in APIM-Analytics scripts. [1] https://git.io/vMxJq On Wed, Jan 25, 2017 at 1:29 PM, Shazni Nazeer wrote: > Hi, > > I have a spark table as shown below. > > CREATE TEMPORARY TABLE APIHourlyTrafficSummary using

[Dev] Error executing script when incremental processing enabled

2017-01-25 Thread Shazni Nazeer
Hi, I have a spark table as shown below. CREATE TEMPORARY TABLE APIHourlyTrafficSummary using CarbonAnalytics options (tableName "org_wso2telco_analytics_hub_stream_traffic_summary_per_hour", schema " year INT -i, month INT -i, day INT -i, hour INT -i, eventTimeStamp STRING -i, api STRING -i,