Github user kiszk commented on the issue:
https://github.com/apache/spark/pull/13680
Ah, you are right. Exactly, [this
code](https://github.com/apache/spark/blob/master/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/MiscFunctionsSuite.scala#L150)
writes ```UTF8``` elements into only some fields, and write ```null``` into
other fields in ascending order. E.g. ```(4-bit nullbits)[0010] [offset0]
[offset1] [0] [offset3]```.
We could change it into ```(4-bit nullbits)[0010] [offset0] [offset1]
[-offset3] [offset3]```. But, it fills `non-zero` into a field that have
```null```. Is it acceptable? If this property is acceptable, I will do that.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]