BISP is committed to provide BEST learning material to the beginners and
advance learners. In the same series, we have prepared a complete end-to
end Hands-on Beginner’s Guide for Oracle Data Integrator. The document
focuses on basic expression transformation. Join our professional training program and learn from experts.
BISP is committed to provide BEST learning material to the beginners and
advance learners. In the same series, we have prepared a complete end-to
end Hands-on Beginner’s Guide for Oracle Data Integrator. The document
focuses on basic expression transformation. Join our professional training program and learn from experts.
Description: BISP is committed to provide BEST learning material to the beginners and advance learners. In the same series, we have prepared a complete end-to end Hands-on Beginners Gide !or "racle #ata Integrator. The docment !ocses on basic e$pression trans!ormation. %oin or pro!essional training program and learn !rom e$perts. History: Version Description Change Author Publish Date 0.1 Initial Draft Chandan Saena 01!0"!#01$ 0.1 %e&ie'(1 A)it Shar)a 0*!0+!#01$ www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page ' Contents ,%AC-. DA/A I0/.1%A/,% 111 (.............................................................................) T*+,S-"*.+TI", E/+.P0E 1SI,G E/P*ESSI", T*+,S-"*.+TI", (.......................) #escription(............................................................................................................... ) Introduction............................................................................................................... ) 2alclate E$pression Trans!ormation in Target in "racle #ata Integrator .................) Below Is the #ata .odel o! GoSales.......................................................................... 3 Sorce Table Strctre.............................................................................................. 4 S"1*2E #+T+............................................................................................................ 4 /arget /able Structure............................................................................................. 5 Below is the Table strctre o! the T*G6"*#E*6#ET+I0S target table in oracle database................................................................................................................... 5 T+*GET #+T+............................................................................................................ 5 2hat is ./- 3apping docu)ent 4.......................................................................7 BE-"*E.+PPI,G6"*#E*#ET+I0.$ls$.............................................................................. 7 +-TE*.+PPI,G6"*#E*#ET+I0.$ls$................................................................................. 7 Staging +rea(............................................................................................................. 7 DA/A5AS. C,00.C/IVI/6 I0 ,%AC-. DA/A I0/.1%A/,%...............................8 How to create conte$t 9.......................................................................................... '' How to create 0ogical Schema 9.............................................................................. ': H,2 /, 5%I01 3./ADA/A 7%,3 DA/A5AS. /, ,%AC-. DA/A I0/.1%A/,%(........................................................................................................ ') C%.A/I01 I0/.%7AC. I0 ,DI..............................................................................'4 %.89I%.D ,9/P9/.............................................................................................. '; www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page : ,%AC-. DA/A I0/.1%A/,% 111 : /%A0S7,%3A/I,0 .:A3P-. 9SI01 .:P%.SSI,0 /%A0S7,%3A/I,0 : Description: BISP is committed to provide BEST learning material to the beginners and advance learners . In the same series , we have prepared a complete end-to end Hands-on gide !or bilding <nancial data model in "racle #ata ntegrator.The docment !ocses on how the real world re=irement shold be interpreted. The mapping docment template with ver& simpli<ed steps and screen shots ma>es the complete learning so Eas& . The docment !ocses on how to calclate the aggregate !nction .%oin or pro!essional training program and learn !rom e$perts. Introduction Calculate .pression /ransfor)ation in /arget in ,racle Data Integrator . In this e$ample, we calclate E$pression Trans!ormation in Target . There are !ollowing Step to !ollow to calclate E$pression Trans!ormation in "racle #ata Integrator. 2reate master and wor> repositor& in "racle #ata Integrator. Import sorce database and Target table . create mapping and drag and drop sorce and target table into mapping designer window. Establish a connection o! sorce and target technolog& with that o! particlar database. 2reate a model and *everse Engineering the datastore according to the technolog&. 2reate new inter!ace inside pro?ect and then come to mapping tab and ma>e a mapping between sorce and target datastores. Then create E$pression Trans!ormation to grop b& colmn. Then come to @ow tab and de<ne the >nowledge modle based on sorce and target. Then save and E$ecte Inter!ace and see the reslt in operator navigator and view the reslt in target datastore. www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page ) 5elo' Is the Data 3odel of 1oSales www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page 3 Source /able Structure This is m& Table Strctre !or the sorce table "*#E*6#ET+I0S in oracle database. S,9%C. DA/A
www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page 4 /arget /able Structure 5elo' is the /able structure of the /%1;,%D.%;D./AI-S target table in oracle database. /A%1./ DA/A www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page 5 2hat is ./- 3apping docu)ent 4 ET0 mapping #ocments contains sorce , staging area , target and the Bsiness *les In!ormation and it is most important docment !or the developer . +nd Below is m& .apping #ocment which contains Sorce -ile ,ame. Sorce -ield ,ame Sorce -ield #ata T&pe Sorce -ield 0ength Sorce -ield #escription Bsiness *le Staging +rea Target Table ,ame Target -ield ,ame Target -ield #ata T&pe Target -ield 0ength BE-"*E.+PPI,G6"*#E*#ET+I0.$ls$ +-TE*.+PPI,G6"*#E*#ET+I0.$ls$ www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page 7 +!ter .apping we have to *eview !rom the End1ser and then sign oA -rom them. Sorce ( 1sed "racle as m& Sorce #atabase. Staging ( 1sed oracle as m& Staging +rea. Target ( 1sed "racle as m& Target #atabase. Staging Area: + place where data is processed be!ore entering the warehose. Staging +rea is temporar& location where data !rom sorce s&stems is copied. + staging area is mainl& re=ired in a #ata Barehosing +rchitectre !or timing reasons. In short, all re=ired data mst be available be!ore data can be integrated into the #ata Barehose Here I have sed Scott schema as staging table and &o have to de<ne staging table inside the ph&sical schema at the time when &o are establishing connection between oracle database and oracle data integrator. DA/A5AS. C,00.C/IVI/6 I0 ,%AC-. DA/A I0/.1%A/,% ,ow I have to establish a connection between oracle and "#I .-or establishing + 2onnection come to the Topolog& ,avigator .select "racle as Technolog& ,*ight 2lic> oracle and select ,ew #ataServer .In this we have to provide vale to ,ame , Instance , #ba 1ser,ame , Password and %#B2 #river. www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page 8 This will establish a connection between oracle and "#I. www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page ; +nd ,ow *ight clic> #ataServer and select Ph&sical schema . Here &o have To <ll in!ormation li>e Schema and wor> Schema. www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page 'C +!ter creating Ph&sical Schema in #ataServer which helps in establishing connection Bith a particlar schema , ,ow 2reate a conte$t li>e #evelopment , prodction and Testing Bhich helps to ma>e a mapping between ph&sical and logical +rchitectre. www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page '' Ho' to create contet 4 %st clic> on the conte$t tab and then on the *ight side o! conte$t tab &o will <nd new 2onte$t options ,select that D,ew 2onte$tE and create a conte$t !or #evelopment ,Prodction and Testing and I! an&thing else is there than create that one also. +!ter 2onte$t create a 0ogical Schema !or "racle . www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page ': Ho' to create -ogical Sche)a 4 2lic> on 0ogical +rchitectre ,Then select oracle technolog& .*ight 2lic> oracle and Select logical schema and provide in!ormation as shown in below diagram.
www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page ') H,2 /, 5%I01 3./ADA/A 7%,3 DA/A5AS. /, ,%AC-. DA/A I0/.1%A/,%: +!ter establishing a connection between oracle and "#I ,go to the #esigner ,avigator Here &o have to bring the metadata o! cstomertrans datastore .-or this &o have to create .odel !older and sb model !or organiFing datastore .*ight clic> 0"+#6"*+20E , +nd Select ,ew .odel and <ll all details provided in previos sheet and then select *everse Engineering Btton ,It will bring all the datastore available in the sales schema . www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page '3 +!ter bringing metadata !rom particlar datastore on the model tab , clic> on the Pro?ect tab and here we have to appl& the *e=ired Bsiness *les sing inter!aces How to implement bsiness rle in pro?ect tab 9 Go to the Pro?ect tab , E$pand <rst !older .Here &o will <nd inter!ace . *ight clic> inter!ace and select new inter!ace .It will open inter!ace window , here &o will provide ,ame o! the Inter!ace , "ptimiFation conte$t . ,ow clic> on the mapping tab . Here &o will get : window one !or the sorce and other !or target li>e I am showing in the ne$t Screen . www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page '4 C%.A/I01 I0/.%7AC. I0 ,DI www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page '5 Here I have done mapping between sorce datastore and target datastore. 2lic> on the @ow tab there &o have to de<ne re=ired >nowledge modle and .a>e the option tre or !alse depend on &or re=irement and then save and e$ecte . B& de!alt staging area is in the target .
www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page '7 Below is the 5ac<ground Code !or the sbstr !nction generated b& "#I. www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page '8 %.89I%.D ,9/P9/ www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page '; +!ter sccess!ll& e$ecting the inter!ace select again target inter!ace , *ight 2lic> target inter!ace and select Gdata .It will show the re=ired otpt. www.bispsoltions.com www.bisptrainigs.com www.h&periongr.com Page :C