Martin Junghanns created SPARK-27174: ----------------------------------------
Summary: Support casting integer types to BinaryType Key: SPARK-27174 URL: https://issues.apache.org/jira/browse/SPARK-27174 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 3.0.0 Reporter: Martin Junghanns Currently, only {{StringType}} can be cast to {{BinaryType}}. Integer types also have a well known two's complement binary representation and can therefore be unambiguously cast to {{BinaryType}}. This PR adds support for casting * {{ByteType}} * {{ShortType}} * {{IntegerType}} * {{LongType}} to {{BinaryType}}. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org