Github user javadba commented on the pull request:
https://github.com/apache/spark/pull/1586#issuecomment-50821699
@ueshin Thanks for your 3 use cases. Yes I think #3 (#bytes) is what we
want. How about we change the name to make it more clear: call it bytelen .. ?
So here is the updated proposal:
a) length = codePoints to keep compatibility with hive
b) bytelen = # bytes: to show amount of byte storage for a string.
Looking forward to your other ideas.
---
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.
---