What is AB_LOCAL expression where do you use it in ab-
initio?
Answer Posted / prasad setti
If you use an SQL SELECT statement to specify the source
for Input Table, and if the statement involves a complex
query or a join of two or more tables in an unload, Input
Table may be unable to determine the best way to run the
query in parallel. In such cases, the GDE may return an
error message suggesting you use ABLOCAL(tablename) in the
SELECT statement to tell Input Table which table to use as
the basis for the parallel unload.
To do this, you would put an ABLOCAL(tablename) in the
appropriate place in the WHERE clause in the SELECT
statement, and specify the name of the "driving table"
(often the largest table, but see below) as a single
argument.
When you run the graph, Input Table will replace the
expression "ABLOCAL(tablename)" with the appropriate
parallel query condition for that table.
For example, suppose you want to join two tables-
customer_info and acct_type-and customer_info is the
driving table. You would code the SELECT statement as
follows:
select * from acct_type, customer_info
where ABLOCAL(customer_info) and
customer_info.acctid = acct_type.id
Note that when using an alias for a table, you must tell
ABLOCAL(tablename) the alias name as well.
select * from acct_type, customer_info custinfo
where ABLOCAL(customer_info custinfo) and
custinfo.acctid = acct_type.id
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Within a cursor, how would you update fields on the row just fetched?
How to create repository in abinitio for stand alone system(local nt)?
Dear all, Please send me the ab initio pdfs and faqs i need... my mail id is rrajesh.intel@gmail.com
What you can store, manage and reuse centrally in ab initio enterprise meta>environment (eme)?
What is the importance of eme in abinitio?
Describe the elements you would review to ensure multiple scheduled batch jobs do not collide with each other?
How to execute the graph from start to end stages? Tell me and how to run graph in non-Abinitio system?
We know rollup component in abinitio is used to summarize group of data record then why do we use aggregation?
What does edp stand for?
What is abinitio?
List out some of the air commands used in abintio?
Explain about ab initio’s dependency analysis?
How to add default rules in the transformer?
What are the various types of layout supported by abinitio?
How to add default rules in transformer?