Github user JoshRosen commented on the pull request:

    https://github.com/apache/spark/pull/5836#issuecomment-98549632
  
    To address your comment from JIRA:
    
    > Can the key could be empty? If we allow the key could be zero, it's 
impossible to deal the useless memory of the end page. Because I don't know if 
it's at the end of the page or just the key is empty. Of couse I have to 
setMemory to zero.
    
    We should handle this corner case.  One approach might be to store a 
negative value for the record length.  We should add a test case to 
BytesToBytesMapSuite that tries storing empty keys and values.


---
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]

Reply via email to