To convert date format to desired format
We need help with a setting to format any datetime column
Siimilar to yyyymmdd HH:MM:SS:milisecond
e.g ( 20260922 11:41:31:706)
at target side (Kafka)
We have case and solution is not a scalable way. Need to have a simple way to configure
-
Current solution which is working but not scalable is
- Modify the datetime column in table explorer to be varchar(50) encoding=UTF-8
- Then use capture expression with str_replace(CONVERT(VARCHAR(23), <column_name>, 140),'-',null)
These two need to do for each column.
step 2 is valid as we need the output but Step 1 is more complex and need to change at table level setting and redefine or reenrollment can loss it from setting.
Please sign in to leave a comment.
Comments
1 comment