Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello there,
I'm using 'tAzureAdlsGen2Output' component to write some csv files from oracle (via Dynamic schema), it is auto converting datetime columns to a format that was never defined within the job. If we send the same date as string/varchar it is writing as is.
'2011-10-21T09:09:36Z[UTC]' instead of '2011-10-21 09:09:36' even though I set the required format as "yyyy-MM-dd HH:mm:ss"
Any advice would be really helpful, thanks in advance.
Hello,
Could you please show us your tAzureAdlsGen2Output component setting screenshots?
Best regards
Sabrina
Thanks for your prompt reply, please find the below screenshots, try to replicate it on your machine, thanks.
In this I'm trying to write a DateTime & String_DateTime values into a csv file on Azure Container.
tFixedFlow config
tAzureAdlsGen2Output config
Job Log
Output from Azure
Please let me know if i am missing anything from the config or guide me where to set the format the 'tAzureAdlsGen2Ouput' will pick the date format from.
Hello Sabrina,
did you had a chance to look this issue?
Hello,
The data of Date/Time type is converted from local timezone(e.g, GMT+8 timezone) to UTC timezone in Azure?
Could you please try to add '-Duser.timezone=SGT' to the JVM setting. (Talend job - Run tab - Advanced settings) to see if it works?
Best regards
Sabrina
Thanks for your reply.
The data of Date/Time type is converted from local timezone(e.g, GMT+8 timezone) to UTC timezone in Azure?
Yes, no matter what ever the Date/Time type input is given, the component is converting it to UTC in azure.
Could you please try to add '-Duser.timezone=SGT' to the JVM setting. (Talend job - Run tab - Advanced settings) to see if it works?
I have tried this earlier from one of the posts, it didn't work, I am in GMT, I tried with SGT but the output on Azure is still appear to be in UTC.
Hello,
Could you please clarify in which Talend version/edition you are?
Best regards
Sabrina
I'm currently using Talend Data Fabric (R2021-04-7.3.1)
Hello,
I'm suspecting that Azure DB stores times in UTC by default and will convert any local time representations into this form. We will make an investigation on it and then come back to you as soon as possible.
Best regards
Sabrina
Yeah, maybe Azure doing that, it would be nice if we can control that from Talend while providing the output to Azure.
EDIT : Because of that, we had go through so many workarounds!!