Hi TALEND-community, I'm having a problem with reading real (unformatted) cell values independent from the cell's data type. Short scenario description: The project is intended to import Excel data into an Oracle database. The layout of those Excel files is different from time to time, each file is imported along with a configuration file defining the position of some values (but not the data types). So what I basically do is importing the whole sheet with data type String. Reading a cell as String obviously means reading the formatted value of a cell which causes several problems in my job design: Problem: reading date and time The formatted cell value for my date cell is "15. Dez 2009" (see talend-cell.png). The cell has a real cell value of "15.12.2009 07:05:15" (see talend-cell-value.png). As described above I have to read all cells as Strings which means I cannot access the cell's real value. Unfortunatelly this is exactly the value I need to parse it correctly (dd.mm.yyyy hh:MM:ss). Activating the setting "Read real values for numbers" (see talend-setting.png) does not help as it seems this has no impact on cells which are read as Strings. >> Now my question: Is there an option to force reading real values for ALL cells in an Excel files independently of the data type? Does anybody have another idea how to solve this issue?
Thank you for your support and ideas! Kind regards, Michael Hof
Hi, thank you for your answer, see file in attachment... Since the data is potentially sensitive, I've removed all cells but the ones concerning the issue at hand. Regards. It appears I may only upload pictures to the forum, I'll send you an email instead.
Hello, is there any solution to this problem? I have a very similar one as I have problems reading the real values of Excel cells. The setting "Read real values for numbers" does not seem to work. I guess I have a setting problem but so far no setting I tried worked. As an example Excel file there is a UNCTAD file that I tried to import: http://www.unctad.org/Templates/Page.asp?intItemID=5823&lang=1 Annex Table 01, FDI inflows, by region and economy, 1990-2010, this is the last one in the column. All numbers seem to be integer, but the real values are doubles. Any idea how to import the real values correctly? Thanks a lot! Ralph
hi slenk, thanks for your answer! I am trying to read .xls files, .csv works fine but the number of files is quite big so I am looking for a way to read the original files properly. The UNCTAD website changed but the file is still available here: http://archive.unctad.org/Templates/Page.asp?intItemID=5823&lang=1 (at the bottom Table 01) Thanks for testing Ralph