Github user cloud-fan commented on the issue: https://github.com/apache/spark/pull/21361 e.g. ``` val binaryLiteral = lit(Array[Byte](1.toByte)) spark.range(1).select(map(binaryLiteral, lit(1)).getItem(Array[Byte](1.toByte))).show +--------------------+ |map(X'01', 1)[X'01']| +--------------------+ | null| +--------------------+ ```
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org