Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I have a source file its is CSV(comma separated). I want to convert it to tab separated. Make sure the conversion happens on all commas except the ones enclosed in Double quotes .

Answers were Sorted based on User's Feedback



I have a source file its is CSV(comma separated). I want to convert it to tab separated. Make sure t..

Answer / vamshi

here is the solution for your question
tested

https://etltechsolutions.wordpress.com/2016/05/23/replace-comma-with-tab-everywhere-except-enclosed-in-a-pair-of-double-quotes/

Is This Answer Correct ?    0 Yes 0 No

I have a source file its is CSV(comma separated). I want to convert it to tab separated. Make sure t..

Answer / sagar patil

We can gone through with the unix.
Command ..sed 's/','/'-'/g' filename

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Informatica Interview Questions

How we will implement Pushdown Optimization and Types in Informatica with better examples

4 Answers   TCS,


How many ways are there to create ports?

0 Answers   Informatica,


generate Unique sequence numbers for each partition in session with Unconnected Lookup ? Hi All, Please help me to resolve the below issue while Applying partitioning concept to my Session. This is a very simple mapping with Source, Lookup , router, and target. I need to Lookup on the target and compare with the source data, if any piece of data is new then Insert, and If any thing change in the existed data then Update. while Inserting the new records to the target table I'm generating sequence numbers with Unconnected lookup, by calling the maximum PK ID from the target table. The above flow is working fine from last one year. Now I wish to apply the Partitioning concept to the above floe(session) At source I used 4 pass through partitions.(For Each partition different filter conditions to pull the data from source) at Target I used 4 passthrough Partitions. it is working fine for some data, but for some rows for Insert Operation , it is throwing Unique key errors, because while Inserting the data it is generating the same sequence key twice. In detail : 1st row is coming from 1st partition and generated the sequence number 1 for that row. 2nd row is coming from 1st partition and generated the sequence number 2 for that row 3rd row is coming from the 2nd partition generated the sequence number 2 again for that row. (it must generate 3 for this row) the issue is becuase of generating the same sequence numbers twice for different partitions. Can any one Please help me to resolve this issue. While Applying partitions how can I generate a Unique Sequence numbers from Unconnected lookup for Each partitioned data. Regrads, N Kiran.

2 Answers   Tech Mahindra,


My source is delimited flat file Flat file data is H|Date D1|ravi|bangalore D2|raju|pune T|4 The data will be send to target if the fallowing two conditions satisfied 1.The first row Date column is equal to SYSDATE 2.Last record second port equal to number of records. How to achieve?

2 Answers   Sapient,


What is the difference between Junk and Confirmed Dimention? where can be used htat one in Informatica?

3 Answers  


State the limitations where we cannot use joiner in the mapping pipeline?

0 Answers  


What are active transformations? Name them.

1 Answers  


can any one explain me about junk dimension

4 Answers  


what are factless facts? And in which scenario will you use such kinds of fact tables.

0 Answers  


What happens if we dont select data driven option?

2 Answers   Zensar,


How do you set a varible in incremental aggregation

0 Answers  


Can we create a Integration service without a Repository service and vice versa?

0 Answers  


Categories