Search found 353 matches
- Thu Feb 21, 2013 12:07 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Primary Key Query
- Replies: 5
- Views: 1813
@Craig Not able to view your whole response, but I am doing what you are saying. My target is DB2 Connector and I have selected auto generated query. The query i see in the director logs is correct and is according to my requirement. Still its not working, I m out of options now. By the way, who is ...
- Wed Feb 20, 2013 8:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Primary Key Query
- Replies: 5
- Views: 1813
Primary Key Query
Hi, I have a small query, one of my table doesn't has any PK. Initially the mode of writing was only Insert. Now due to a new requirement updates can also be possible. So I asked my DBA not to define any PK column as I thought I can handle in my job itself. So in the target stage, I tick marked the ...
- Wed Feb 13, 2013 7:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: handle_null() to replace one column with another when NULL
- Replies: 4
- Views: 1610
According to your requirement if KEY1 is null then value of KEY2 column should be mapped, then the data type of both KEY1 and KEY2 should be same. So
will work but
will not work.
Code: Select all
handle_null(KEY1,'2013-01-01')
Code: Select all
handle_null(KEY1,245)
- Wed Feb 13, 2013 5:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: handle_null() to replace one column with another when NULL
- Replies: 4
- Views: 1610
- Wed Feb 06, 2013 12:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sum, Count on varchar in Aggregator
- Replies: 16
- Views: 14440
- Wed Feb 06, 2013 12:21 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date match format error
- Replies: 14
- Views: 5330
- Tue Feb 05, 2013 11:45 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sum, Count on varchar in Aggregator
- Replies: 16
- Views: 14440
I am dealing here with 520 million records :wink: . I join two sets of 260 million records each and then pass it to Aggregator. My minimum throughput I get is around 200000 rows/sec. But my database is not on a remote server and my job finishes within 30 mins. Performance is not an issue for me. But...
- Tue Feb 05, 2013 12:05 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Insert,update,insert/update on same table in same job
- Replies: 5
- Views: 3925
- Tue Feb 05, 2013 12:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sum, Count on varchar in Aggregator
- Replies: 16
- Views: 14440
- Mon Feb 04, 2013 7:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Convert into single cell - All values
- Replies: 4
- Views: 2684
- Mon Feb 04, 2013 1:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sum, Count on varchar in Aggregator
- Replies: 16
- Views: 14440
- Fri Feb 01, 2013 8:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Parallel job reports failure (code 134)
- Replies: 8
- Views: 8273
- Fri Feb 01, 2013 4:54 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sum, Count on varchar in Aggregator
- Replies: 16
- Views: 14440
Sorry Ray, not able to view your whole response. But got the idea so here it is; My data is like AgeGroup Balance 18-20 100.0 18-20 200.0 20-25 1000.0 20-25 2000.0 20-25 3000.0 30-35 300.0 O/P data will look like AgeGroup Count SumOfBalance 18-20 2 300.0 20-25 3 6000.0 30-35 1 300.0 Now I have tried...
- Fri Feb 01, 2013 3:54 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sum, Count on varchar in Aggregator
- Replies: 16
- Views: 14440
Thanks for the reply. Actually the SUM is on a decimal field but the group column is a varchar(like a name). I have tried a lot of things but getting errors Error when checking operator: It is not legal to set a reducer (AGE_GRP) to be the same as a key field, when the type of that field (int32) is ...
- Thu Jan 31, 2013 11:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sum, Count on varchar in Aggregator
- Replies: 16
- Views: 14440
Sum, Count on varchar in Aggregator
Hi All,
I want to calculate SUM and COUNT on varchar field in Aggregator.
I have searched many posts and found out that "Preserve Type" option is present but it works only for MIN and MAX functions.
Can any one suggest how to accomplish this ?
I want to calculate SUM and COUNT on varchar field in Aggregator.
I have searched many posts and found out that "Preserve Type" option is present but it works only for MIN and MAX functions.
Can any one suggest how to accomplish this ?