--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+unsubscribe@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/9ef9159b-ba2e-4789-8c95-06a30bd2b8ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There's no way to do that out of the box, since MySQL's DATETIME does not have any notion of timezone and will not perform any timezone conversions.If you want to use ZonedTimestamp instead, you could use a custom SMT that converts from `io.debezium.time.Timestamp` into a `io.debezium.time.ZonedTimestamp` by providing the missing timezone information.
On Mon, Aug 7, 2017 at 3:26 PM, <saty...@telmate.com> wrote:
Hi Randall,Is there a way i can convert datetime column type from mysql, into io.debezium.time.ZonedTimestamp?Currently they are getting converted into long int or number of milliseconds, is there a way to convert it into datetime formatted string or timestamp format string or ZonedTimestamp, to make sure i get the proper timestamp and not int values. Example (2017-08-07 15:13:01).From the documentation i see, both the option adaptive and connective types for the property time.precision.mode , converts the datetime format into int64 type, is there any way i can change it to io.debezium.time.ZonedTimestamp?.or a string type of timestamp format and not int64.Regards,Satyajit.
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
Hi Randall,What if , i don't care about the timezone, but would need just the timestamp format() and not the long number or int64 number for the column value?Regards,Satyajit.
On Monday, August 7, 2017 at 3:31:40 PM UTC-7, Randall Hauch wrote:There's no way to do that out of the box, since MySQL's DATETIME does not have any notion of timezone and will not perform any timezone conversions.If you want to use ZonedTimestamp instead, you could use a custom SMT that converts from `io.debezium.time.Timestamp` into a `io.debezium.time.ZonedTimestamp` by providing the missing timezone information.On Mon, Aug 7, 2017 at 3:26 PM, <saty...@telmate.com> wrote:Hi Randall,--Is there a way i can convert datetime column type from mysql, into io.debezium.time.ZonedTimestamp?Currently they are getting converted into long int or number of milliseconds, is there a way to convert it into datetime formatted string or timestamp format string or ZonedTimestamp, to make sure i get the proper timestamp and not int values. Example (2017-08-07 15:13:01).From the documentation i see, both the option adaptive and connective types for the property time.precision.mode , converts the datetime format into int64 type, is there any way i can change it to io.debezium.time.ZonedTimestamp?.or a string type of timestamp format and not int64.Regards,Satyajit.
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/9ef9159b-ba2e-4789-8c95-06a30bd2b8ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+unsubscribe@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/2c16d88a-e09a-43b4-9115-b47e37483d69%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+unsubscribe@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/cef193d6-b4a1-4396-9a95-44425a4f42ed%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/CADGJaX-KLuCYJdQOEBsTp15JRuYSMkK0X-wfO%3D%3DvHj4-EJ33Pg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/CALYgK0GqF9LB_ZkdVv%3DtVNVCbfGorokO3erOM2AuqP9hmPdejw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/CADGJaX85v1XaJYZHBL37cj1ckGs0JzqRaAy11h0CxkCvAGBGwQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/cef193d6-b4a1-4396-9a95-44425a4f42ed%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/CADGJaX-KLuCYJdQOEBsTp15JRuYSMkK0X-wfO%3D%3DvHj4-EJ33Pg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/CALYgK0GqF9LB_ZkdVv%3DtVNVCbfGorokO3erOM2AuqP9hmPdejw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+unsubscribe@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/a592142c-5908-49ce-ab90-c3004c1c5013%40googlegroups.com.
Hi Satyajit,
There's no way to do that out of the box, since MySQL's DATETIME does not have any notion of timezone and will not perform any timezone conversions.If you want to use ZonedTimestamp instead, you could use a custom SMT that converts from `io.debezium.time.Timestamp` into a `io.debezium.time.ZonedTimestamp` by providing the missing timezone information.
On Mon, Aug 7, 2017 at 3:26 PM, <saty...@telmate.com> wrote:
Hi Randall,Is there a way i can convert datetime column type from mysql, into io.debezium.time.ZonedTimestamp?Currently they are getting converted into long int or number of milliseconds, is there a way to convert it into datetime formatted string or timestamp format string or ZonedTimestamp, to make sure i get the proper timestamp and not int values. Example (2017-08-07 15:13:01).From the documentation i see, both the option adaptive and connective types for the property time.precision.mode , converts the datetime format into int64 type, is there any way i can change it to io.debezium.time.ZonedTimestamp?.or a string type of timestamp format and not int64.Regards,Satyajit.
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+unsubscribe@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/c8213eac-8d95-407e-981e-dd87295db654%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+unsubscribe@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/47a2eb6f-7464-451e-800e-e231df523862%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/CADGJaX-LkF3frsaxOb9EKPBGG4kcO9Ok%2BwBhFuwTY78CbNCWTQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/cef193d6-b4a1-4396-9a95-44425a4f42ed%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/CADGJaX-KLuCYJdQOEBsTp15JRuYSMkK0X-wfO%3D%3DvHj4-EJ33Pg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/CALYgK0GqF9LB_ZkdVv%3DtVNVCbfGorokO3erOM2AuqP9hmPdejw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To post to this group, send email to debe...@googlegroups.com.