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: [email protected]
For additional commands, e-mail: [email protected]