Export to CSV Date format #129
Replies: 2 comments 1 reply
-
I have forked the project and changed from the OracleManager.java
to this
I compiled it but when i run replicadb again and export to a CSV file it still keeps the I tried with sqlplus to connect alter session and query the table and the results are ok. Without
With
But when i run replicadb with the modified forked i made
I created a .config file that does a
Any idea why this is happening? |
Beta Was this translation helpful? Give feedback.
-
I ended up using What i did was to clone the project and modify this function from OracleManager.java:
to this
Removed any traces of The source table is an Oracle Database and the sink is a CSV file. Default settings. |
Beta Was this translation helpful? Give feedback.
-
Hello.
When i export from Oracle to CSV and the Oracle table that has a column date with the value ie.
2023-02-10
, then at the sink CSV is formatted as,2023-02-10 00:00:00.0
Is there a way or some parameter to specify the date to be a specific format at the sink table? Like only
YYYY-MM-DD
ORYYYY-MM-DD HH24:MI:SS
without addingSELECT TO_CHAR(COLUMN, 'YYYY-MM-DD HH24:MI:SS')
because we want to keep theSELECT *
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions