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 |
Input Data: AAABBBCC CCAAABB expected output A3B3C2 A3B2C2 How can I achieve this in Ab initio? where In output count of occurrences should be sorted from high to low
How to calculate total memory used my a graph?
What do you understand by local lookup?
In MFS i developer developed 2-way, but supporters r supporting 4-way on same records how is possible?
what is SSH?What is the differences between the SSH,SSH1,SSH2?
What is the architecture of abinitio?
Order of Evaluation of Parameters
Whenever we load data into oracle table from staging table using exchange partition...then I read somewhere that data actually doesn't move in this and this command only reset the pointer in the data dictionary...so if data doesn't move then how data is loaded into the main table ? I mean wat is the point of pointer update in data dictionary?
What is the difference between dml expression and xfr expression?
Name any two stages of the data processing cycle and provide your answer in terms of a comparative study of them?
What is a data processing cycle and what is its significance?
Explain batch processing in ab initio?