yaooqinn commented on PR #41531:
URL: https://github.com/apache/spark/pull/41531#issuecomment-1586512593

   Can you ensure MySQL or Snowflake's behaviors are client-side or server-side?
   
   The hive string method here is used by `spark-sql`(client-server embedded) 
and
    `thrift server` (client-server separated). The former simply uses it for 
printing,
    but the latter is much more complicated. Spark only has inlined the source 
code
    for the server, but for the clients, including thrift client, Hive Beeline,
    and Hive JDBC, we respect upstream fully.
   
   The binary string shall be compatible with all client APIs. Changes here do 
break
   for the JDBC ResultSet.getObject function, which coverts this binary string 
to byte
   array again.
   
   
   FYI, 
https://github.com/apache/hive/blob/431e7d9e5431a808106d8db81e11aea74f040da5/jdbc/src/java/org/apache/hive/jdbc/HiveBaseResultSet.java#L541


-- 
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