What is AB_LOCAL expression where do you use it in ab-
initio?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / alok
we use AB_LOCAL(expression) to increase the SQL query
performance by supplying the name of large table in
expression. This way we make it as a driving table.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / mahendra garewal
AB_LOCAL is used for both parallel unload and for
determining the driving table in the complex queries.
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / ramanjaneyulu.i
sql queries does not recognise by Abinitio then we will use
AB_LOCAL.
| Is This Answer Correct ? | 4 Yes | 1 No |
i have 2 files. First file contains a,b,c,d as rows and second file contains 1,2,3,4 as rows. how do we make single a1b2c3d4 and 4 different rows a1, b2, c3,d4.
List out the file extensions used in abinitio?
Explain data flow graph with an example?
Can you read multiple input files using one input file component ?(same DML)
When running a stored procedure definition script how would you guarantee the definition could be rolled back in the event of problems?
What are the facts that can compromise data integrity?
What is rollup component?
How can you view the data in the Multifile
What is regex (lookup)? When you should use it? How to use in abinitio graph?
If I delete 1 partition (in 8 partition multifile) and run the graph. Will the graph run successfully?, If not what error I'm going to get.
How might you quantitatively measure an improvement made to a query?
Can someone tell me the behaviour of next_in_sequence() and innovation_number() in a multifile. Suppose I have records 1,1,1,2,2,3,4,4 in a 4ways mfs file. Data in each partition is: 0th : 1,1,1 1st : 2,2 3rd : 3 4th : 4,4 What will be the sequence of these records if I pass next_in_sequence() and innovation_number() ? Also how can I extract 3rd record from each of the 4 partitions of a 4way multifile through AbInitio? In unix we can use m_dump