• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Dynamically filtering column and not rows with Null values

#1 2011-11-04 18:48:49

vpatel
New member
Registered: 2011-07-19
Posts: 4

Dynamically filtering column and not rows with Null values

I am looking for inputs on how to dynamically filter columns that has null values and map that to tMSSqlOutput.

Here is the scenario i am running into.

We have to set default values for may fields that are inserted into sql server db, problem is inserting records using tMSSqlOutput don't default column since null is  passed and if column values are passed(with null) they don't get defaulted in database.

So question is how can i filter out null columns before i connect that to tMSSqlOutput? so basically right between tMap and tMSSqlOutput i want to filter out columns that have null so they don't  appear in insert statement that is generated by tMSSqlOutput  component.

We are trying to avoid using default option in schema for each of the columns as we will have to maintain defaults at two places, one in talend and another in database.

I am using TIS 4.2.3

Job looks like
tFileInputExcel
         |
         |
     tMap
         |
         |
tMSSqlOutput

Offline

#2 2011-11-07 04:28:03

shong
Talend team
Registered: 2007-08-29
Posts: 10297
Website

Re: Dynamically filtering column and not rows with Null values

Hi
I have replied you on [Forum, topic 18713] Dynamically filtering column with Null values, let me know if you still have troubles.

Best regards
Shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2011-11-07 21:16:25

vpatel
New member
Registered: 2011-07-19
Posts: 4

Re: Dynamically filtering column and not rows with Null values

Shong,

Please reply to Talend community forum post http://www.talendforge.org/forum/viewtopic.php?pid=68395#p68395

Last edited by vpatel (2011-11-07 21:21:16)

Offline

#4 2012-09-11 04:13:55

fsdfgdhfdgh
Guest

Re: Dynamically filtering column and not rows with Null values

Ma El Nino Maravilla non c'č pił e, col tempo, maglie calcio 2012 con questo tipo di idea potrebbe diventare controproducente.  L'allenatore, ad ogni modo, ha chiesto pochi innesti, ma di valore.  Potrebbe persino finire in panchina, non č impensabile tenerlo fuori.  Chissą se i tifosi saranno sulla stessa linea d'onda del loro presidente.  Maglietta De Calcio Casa Bayern Monaco 2011/2012 Maglia Calcio non arrivņ l'Atletico Madrid a mettere le cose in regola.  Un'assenza comunque pesante se si pensa al peso che ha avuto sin qui lo svedese nella stagione del Milan, domani se ne saprą di pił.

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Dynamically filtering column and not rows with Null values

Board footer

Powered by FluxBB