Asthenia0412 commented on PR #67960:
URL: https://github.com/apache/doris/pull/67960#issuecomment-5664789375

   Hi @zclllyybb @morningman @jimmy-boss, could you take a look when you get a 
chance?
   
   This reverts part of #63292 (which reported TIMESTAMPTZ as STRING to MySQL 
clients) and instead fixes the root cause: advertise `MYSQL_TYPE_TIMESTAMP` and 
make the binary result path actually encode a valid MySQL `TIMESTAMP` binary 
payload (parsing off the trailing `+08:00` offset, since the wall-clock part is 
already rendered in the session time zone). Connector/J's "Invalid length (32)" 
failure from #63292 should no longer apply because the bytes are now a real 
timestamp binary, not a string.
   
   @jimmy-boss this is for the `DatabaseTypeName` reported as `char` issue — a 
golang driver scanning `timestamptz` into `time.Time` now sees `TIMESTAMP` 
instead of `CHAR`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to