talend

Row to Column conversion in Talend

妖精的绣舞 提交于 2019-12-24 05:04:08
问题 I am learning Talend Open studio. I want to implement the scenario where a row converts into 3 rows. My Source is like Col1 Col2 Col3 a b c I want to get the output like below Col a b c I have used tcolumntopivotdelimited but failed. 回答1: Here is the solution : In your tmap you need to concat with a ";" for example and normalize the resulted column with the good delimiter 来源: https://stackoverflow.com/questions/41463671/row-to-column-conversion-in-talend

Row to Column conversion in Talend

爷,独闯天下 提交于 2019-12-24 05:02:28
问题 I am learning Talend Open studio. I want to implement the scenario where a row converts into 3 rows. My Source is like Col1 Col2 Col3 a b c I want to get the output like below Col a b c I have used tcolumntopivotdelimited but failed. 回答1: Here is the solution : In your tmap you need to concat with a ";" for example and normalize the resulted column with the good delimiter 来源: https://stackoverflow.com/questions/41463671/row-to-column-conversion-in-talend

Compare 2 files and keep entries that are not common to both

巧了我就是萌 提交于 2019-12-23 20:07:22
问题 I have a CSV file and a database table as inputs. I need to keep all the records that are in the database table but exclude those that are in the CSV file. It all gets written to a CSV file in the end. All my attempts have resulted in hundreds of duplicates so I'm rather challenged here. 回答1: This is a quick-and-dirty trick, but it should fit your needs. Connect your database and your CVS input to a TMap- Use your DB as main connection and CSV as Lookup. Something like: tMySqlInput---->Main--

SQL Server: Can I use EXEC to run an external Application?

a 夏天 提交于 2019-12-23 19:27:00
问题 Hello and thank you for your time, I have been searching everywhere online for an example, where a SQL trigger will run an external application, but I have had no luck. All I am seeing is that the EXEC will execute a SQL procedure. The reason I need this is, I have a SQL Server 2010 with many tables and when an update or insert occurs on certain tables I need my Talend job to run and update the Salesforce tables. Currently the Talend jobs are running through A task scheduler but the company

Talend get current filename

南笙酒味 提交于 2019-12-23 04:47:15
问题 I want to load excel files into the mysql database and check that they do not already exist, my problem is that I can not extract the name of the current file. For example, I have the following files A.xlsx , B.xlsx and C.xls . It return always B.xlsx 回答1: I think the issue you have is that your "RunIf" link is before the iterator, and therefore it's not being triggered at the right time. The image below shows a simplified version, where I list the rows in the spreadsheets and then the file

Add context parameters to Talend job in Tac via API without actually running it

倖福魔咒の 提交于 2019-12-23 04:23:13
问题 This seems to be a weird situation, but I want to know (have googled in Talend forums and their API docs, but nothing) if it is possible to set the context parameters for an already deployed task in TAC without actually running it . I say that last part because I already know how and have the ability to run a specified job with the right context parameter values, but that's actually a step further than I need to go. Thanks for any input 回答1: You can use the metaservlet API-s updateTask

ETL Operation - Return Primary Key

你说的曾经没有我的故事 提交于 2019-12-23 03:17:24
问题 I am using Talend to populate a data warehouse. My job is writing customer data to a dimension table and transaction data to the fact table. The surrogate key (p_key) on the fact table is auto-incrementing. When I insert a new customer, I need my fact table to reflect the id of the related customer. As I mentioned my p_key is auto auto_incrementing so I can't just insert an arbitrary value for the p_key. Any thought on how I can insert a row into my dimension table and still retrieve the

Connecting via JDBC to OpenEdge in Talend

左心房为你撑大大i 提交于 2019-12-22 17:46:34
问题 In "Talend Data Integration" I want to create a connection using JDBC to a Progress OpenEdge database. I have no experience whatsoever with this type of connection. My ODBC-connections to the same resources work fine, but Talend requires a JDBC connection to function properly. The connection settings in Talend I have at the moment are: DB Type: General JDBC JDBC URL: jdbc:sqlserver://db-name:port;databaseName= * * Driver jar: ??? (which jar-file do I need for OpenEdge?) Class name: ??? (which

Casting date in Talend Data Integration

﹥>﹥吖頭↗ 提交于 2019-12-22 13:56:21
问题 In a data flow from one table to another, I would like to cast a date. The date leaves the source table as a string in this format: "2009-01-05 00:00:00:000 + 01:00". I tried to convert this to a date using a tConvertType, but that is not allowed apparently. My second option is to cast this string to a date using a formula in a tMap component. At the moment I tried these formulas: - TalendDate.formatDate("yyyy-MM-dd",row3.rafw_dz_begi); - TalendDate.formatDate("yyyy-MM-dd HH:mm:ss",row3.rafw

Anyone have special issue using WSO2? [closed]

随声附和 提交于 2019-12-22 10:44:02
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 4 years ago . Anyone have any special issue when using WSO2. I'm still looking forward should I use WSO2 or Talend for Integration framework. Anyone have experience using one of them or both? 回答1: Ebay the esb casestudy is a case study which shows how eBay using WSO2 ESB to process more 1