export form Oracle with tFileOutputDelimited

Highlighted
One Star

export form Oracle with tFileOutputDelimited

Hi I´am a beginner with Open Studio.
I likte to create a very simple export rotine with this SQL:
"select
gh.ghid,
gh.plz_id,
round(ma.s_wert_A,2) as ma_s_wert_A,
round(ma.s_wert_N,2) as ma_s_wert_N,
round(ma.s_wert_R,2) as ma_s_wert_R,
round(ma.s_wert_t,2) as ma_s_wert_T,
round(gh.s_wert_A,2) as gh_wert_A,
round(gh.s_wert_N,2) as gh_wert_N,
round(gh.s_wert_R,2) as gh_wert_R,
round(gh.s_wert_t,2) as gh_wert_T,
round(gh.s_wert_T/ma.s_wert_T*100,4) as MA,
to_char(gh.Datum,'DD.MM.YYYY')
from
(select
ghid,
plz_id,
sum(wert_a) as s_wert_a,
sum(wert_n) as s_wert_n,
sum(wert_r) as s_wert_r,
sum(wert_t) as s_wert_t
from
feedback.fdb_erg_segmente
where
ghid = 0 and
datum = to_date('200812','yyyymm')
group by
ghid,
plz_id
) ma,
(select
ghid,
plz_id,
datum,
sum(wert_a) as s_wert_a,
sum(wert_n) as s_wert_n,
sum(wert_r) as s_wert_r,
sum(wert_t) as s_wert_t
from
feedback.fdb_erg_segmente
where
ghid >= 311 and ghid <= 313 and
datum = to_date('200812','yyyymm')
group by
ghid,
plz_id,
datum
) gh
where
gh.plz_id = ma.plz_id
order by
gh.ghid,
gh.plz_id"

Now I insert the table fdb_erg_segmente into DB Connection->Table schemas
then insert the SQL statement into the query field from the tOracleInput field,
generate the tFileOutputDelimited and start.
The error message is big:
Starting job test2 at 06:49 17/04/2009.[statistics] connecting to socket on port 3921
[statistics] connected
Exception in component tOracleInput_1
java.sql.SQLException: Invalid column type: getTimestamp not implemented for class oracle.jdbc.driver.T4CNumberAccessor
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
at oracle.jdbc.driver.Accessor.unimpl(Accessor.java:375)
at oracle.jdbc.driver.Accessor.getTimestamp(Accessor.java:808)
at oracle.jdbc.driver.OracleResultSetImpl.getTimestamp(OracleResultSetImpl.java:1060)
at feddbackreports.test2_0_1.test2.tOracleInput_1Process(test2.java:438)
at feddbackreports.test2_0_1.test2.runJobInTOS(test2.java:703)
at feddbackreports.test2_0_1.test2.main(test2.java:613)
[statistics] disconnected
Job test2 ended at 06:49 17/04/2009. [exit code=1]

The statement is ok I have test it with the SQL Builder Component.
What is wrong? If I use the original SQL statement without aggregate functions and without renameing the coloums the export ist fast (20000 R/s).
Must I use the tOracleRow component?
With this (picture 2) the export is ok and no errors appear, but is is so slow that this way is not useful.
Please help me and show the correct way.
Thanks a lot.
Thorsten

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Have you checked out Talend’s 2019 Summer release yet?

Find out about Talend's 2019 Summer release

Blog

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog