nagarjuna wrote: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 ).
Yes indeed.
It might help if you explained your troublesome job design in full - stages, processing, etc so we can perhaps do a more apples-to-apples comparison / test. You said earlier that if (basically) all you had was a pivot it "worked fine" so wondering what other stages are involved when it doesn't work fine.
And please confirm we're talking about the Pivot Enterprise stage here, yes?
-craig
"You can never have too many knives" -- Logan Nine Fingers
Pivot enterprise stage ?? I am using a pivot stage ( whose documentation is in server guide ) ...So you mean to say that there is another pivot stage in parallel jobs ?? I dont know about it.Right now i am not at my work place so i dont have access ...Any ways my parallel job design is as follows :
There is indeed a Pivot Enterprise stage. It was introduced in version 8.1. It primarily offers a graphical tool for selecting the pivot key and pivoting columns and to include a "pivot index" column (auto-numbering of the rows for each pivot key value). The first of these means that you do not have to type in a comma-separated list of column names.
The other major differences are that the Pivot stage default execution mode is sequential while the Pivot Enterprise stage default execution mode is parallel, and in a future version the Pivot Enterprise will be able to support vertical pivots (rows to columns).
In the title bar the Pivot stage in parallel jobs shows as "PivotPX Stage" while the Pivot Enterprise stage shows as "PXPivot Stage". Their icons on the design area are identical.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Thanks ray for your reply ....when i changed it as varchar job is running fine . Its not throwing any error .For , BigInt only its giving problem.
As i am working in 8.0.1 version , i am using server pivot stage in parallel jobs ...Thanks ray for your info about pivot enterprise stage in 8.1 version .
Both stages are in the 8.1 version, and it's not the "server pivot stage" - that's completely different, so perhaps I should say all three stages. It is the original PX pivot stage rather than the exciting new Enterprise version introduced in 8.1.
I'll see if I can try the other one tomorrow.
-craig
"You can never have too many knives" -- Logan Nine Fingers
Thanks for your time craig ...If you get any chance request you to try with pivot ( which is present in server jobs ) ....
Anyways , I am running that particular job with varchar datatype .Just want to make sure with experts in dsxchange about BigInt datatype in pivot stage .
No craig ....I am using a parallel job .But , i took pivot stage from the folder server type .As far as i know , we have only one pivot stage in 8.0.1 .Tomorrow i will confirm the same and avoid further ambiguity .
nagarjuna wrote:No craig ....I am using a parallel job .But , i took pivot stage from the folder server type .As far as i know , we have only one pivot stage in 8.0.1 .
That could very well be your problem right there. Do double-check.
-craig
"You can never have too many knives" -- Logan Nine Fingers
8.1 on Linux, swapping in the 'PX' pivot in place of the Enterprise Pivot gets me a "Error: Arithmetic overflow" warning before the fatal errors start to be logged:
Error occurred in call to ORPHCallActivePluginRun() with input link '0'
The runLocally() of the operator failed.
All reported by the pivot stage. Also found this earlier warning interesting:
main_program: Invalid character(s) ([xA9]) found converting string (code point(s): IBM Confidential, OCO Source Materials, [xA9] Copyright IBM Corp. 2006. All Rights R...) from codepage UTF-8 to Unicode, substituting.
A problem with the copyright symbol it seems but not sure how that string gets pulled into the mixture.
-craig
"You can never have too many knives" -- Logan Nine Fingers
Note that it works fine as long as none of the values exceed the range of an Integer, once a single value goes beyond that into BigInt territory - overflow. This... 'limitation' does not exist in the Enterprise stage, btw.
-craig
"You can never have too many knives" -- Logan Nine Fingers