Anda di halaman 1dari 2

Home

DataWarehouse

Informatica

InformaticaScenarios

Oracle

Unix

Hadoop

LookupTransformationinInformatica
Lookuptransformationisusedtolookupdatainaflatfile,relationaltable,vieworsynonym.
Lookupisapassive/activetransformationandcanbeusedinbothconnected/unconnected

Search...

Search

PopularPosts
SedCommandinUnixandLinuxExamples

modes.Frominformaticaversion9onwardslookupisanactivetransformation.Thelookup
transformationcanreturnasinglerowormultiplerows.
Youcanimportthedefinitionoflookupfromanyflatfileorrelationaldatabaseorevenfroma
sourcequalifier.Theintegrationservicequeriesthelookupsourcebasedontheports,lookup
conditionandreturnstheresulttoothertransformationsortargetinthemapping.
Thelookuptransformationisusedtoperformthefollowingtasks:
GetaRelatedValue:Youcangetavaluefromthelookuptablebasedonthe
sourcevalue.Asanexample,wecangettherelatedvaluelikecitynameforthe
zipcodevalue.
GetMultipleValues:Youcangetmultiplerowsfromalookuptable.Asan
example,getallthestatesinacountry.
PerformCalculation.Wecanusethevaluefromthelookuptableanduseitin
calculations.
UpdateSlowlyChangingDimensiontables:Lookuptransformationcanbeused
todeterminewhetherarowexistsinthetargetornot.

TopExamplesofAwkCommandinUnix
FindCommandinUnixandLinuxExamples
CutCommandinUnix(Linux)Examples
DateFunctionsinHive
InformaticaScenarioBasedInterviewQuestionswith
AnswersPart1
StringFunctionsinHive
SQLQueriesInterviewQuestionsOraclePart1
GrepCommandinUnixandLinuxExamples
ConditionalFunctionsinHive

HaveQuestions?FollowMe
vijaybhaskar

Youcanconfigurethelookuptransformationinthefollowingtypesoflookup:

Addtocircles

FlatFileorRelationallookup:Youcanperformthelookupontheflatfileor
relationaldatabase.Whenyoucreatealookupusingflatfileaslookupsource,the
designerinvokesflatfilewizard.Ifyouusedrelationaltableaslookupsource,then
youcanconnecttothelookupsourceusingODBCandimportthetabledefinition.
PipelineLookup:YoucanperformlookuponapplicationsourcessuchasJMS,
MSMQorSAP.Youhavetodragthesourceintothemappingandassociatethe
lookuptransformationwiththesourcequalifier.Improvetheperformanceby
configuringpartitionstoretrievesourcedataforthelookupcache.
ConnectedorUnconnectedlookup:Aconnectedlookupreceivessourcedata,
performsalookupandreturnsdatatothepipeline.Anunconnectedlookupisnot
connectedtosourceortargetoranyothertransformation.Atransformationinthe
pipelinecallsthelookuptransformationwiththe:LKPexpression.The
unconnectedlookupreturnsonecolumntothecallingtransformation.
CachedorUncachedLookup:Youcanimprovetheperformanceofthelookupby
cachingthelookupsource.Ifyoucachethelookupsource,youcanuseadynamic
orstaticcache.Bydefault,thelookupcacheisstaticandthecachedoesnot
changeduringthesession.Ifyouuseadynamiccache,theintegratiionservice
insertsorupdatesrowinthecache.Youcanlookupvaluesinthecacheto
determineifthevaluesexistinthetarget,thenyoucanmarktherowforinsertor
updateinthetarget.
RecommendedReading:
SQLTransformation
InformaticaScenarios
UpdateStrategyTransformationinInformatica
StoredProcedureTransformationinInformatica
JoinerTransformationinInformatica
InformaticaRealTimeScenarios
Ifyoulikethisarticle,thenpleaseshareitorclickonthegoogle+1button.

657havemeincircles

Viewall

NewerPost

pnrstatus

Home

OlderPost

privacypolicy

Anda mungkin juga menyukai