Page 1 of 3
Bug in pivot stage ???
Posted: Wed Jun 03, 2009 10:32 pm
by nagarjuna
Hi ,
Today i developed a parallel job .My requirement is to do horizontal pivot .So , i have used the pivot stage .
The job is getting aborted after having a warning arthimetic overflow.So , i have developed another simple job which has pivot stage and that job is working fine .
After an ordeal of 1 hr , i came to know that bigint field is giving the problem Further i observed that whenever the input is having a field of datatype bigint job is failing .
Just i want to know is it a bug or it is as expected ? Is there any restriction on the datatypes to use in pivot stage ?
Please throw some light on this .
Thanks in advance .
Posted: Wed Jun 03, 2009 11:56 pm
by ray.wurlod
Is the output field also BigInt, or only Integer or smaller? That would be the typical cause of an arithmetic overflow.
Posted: Thu Jun 04, 2009 4:31 am
by nagarjuna
Thanks ray for the reply ...
In my case ..Output also BIGINT ...Is it expected behaviour ??
Posted: Thu Jun 04, 2009 4:07 pm
by ray.wurlod
Not expected. After all the Pivot stage does not change the value - it only moves it to a different place. What happens if you change the output to unsigned BigInt (int64)?
Posted: Thu Jun 04, 2009 4:16 pm
by nagarjuna
I am getting the same result for unsigned Bigint also .Its giving a warning of ARTHIMETIC OVERFLOW and after that fatal message as :
Resource bundle corresponding to message key DSTAGE-T0DC-0064 not found ! Check that DSHOME or APT_RESPATH is set .
Posted: Mon Jun 08, 2009 10:36 am
by nagarjuna
Can anybody test a simple job with pivot stage and giving one of the field as BIGINT in output and input of pivot stage ?
Posted: Mon Jun 08, 2009 4:34 pm
by ray.wurlod
The resource bundle message is unrelated to the arithmetic overflow, I believe. The resource bundle message is about finding the text to accompany some particular error code.
Posted: Mon Jun 08, 2009 6:08 pm
by chulett
nagarjuna wrote:Can anybody test a simple job with pivot stage and giving one of the field as BIGINT in output and input of pivot stage ?
A version 8 job, I assume... 8 dot what?
Posted: Mon Jun 08, 2009 7:04 pm
by nagarjuna
Version : 8.0.1 ( Information Server )
Posted: Mon Jun 08, 2009 7:08 pm
by ray.wurlod
What does your official support provider have to say?
Posted: Mon Jun 08, 2009 7:13 pm
by nagarjuna
We have submitted the case to support ...We are yet to hear from them ...But , before that i want to find out if its working for anybody else here
Re: Bug in pivot stage ???
Posted: Tue Jun 09, 2009 3:52 am
by anshul_roy
I tried doing the same. Luckily it ran successfully but the viewdata is giving error.
Posted: Tue Jun 09, 2009 5:10 am
by nagarjuna
Hi Anshul ,
Could you please eloborate on problem you are facing in viewing the data ??
Posted: Tue Jun 09, 2009 4:38 pm
by chulett
FWIW, built an 8.1 job with the Pivot Enterprise stage using BigInt fields and it works just fine. And I can't imagine any kind of View Data error would be relevant to this particular topic.
Posted: Tue Jun 09, 2009 6:23 pm
by nagarjuna
Thank you very much craig for testing .Hope you have given datatype as Bigint in both i/p,o/p of pivot and test data is also Big int ( value greater than int ) .I will update you all once i receive any information from my support team