Github user lw-lin commented on the issue:

    https://github.com/apache/spark/pull/14118
  
    I think @HyukjinKwon has made a good point: it's kind of strange null 
strings can be written out, but can not be read back as nulls.
    
    So for `StringType`:
    <table>
    <tr>
        <td align="center"></td>
        <td align="center">nulls write & read</td>
        <td align="center">consistent with 1.6?</td>
    </tr>
    <tr>
        <td align="center">option (a)</td>
        <td align="center">null strings can be written out,<br/>but can 
<strong>NOT</strong> be read back as nulls</td>
        <td align="center">yes</td>
    </tr>
    <tr>
        <td align="center">option (b)</td>
        <td align="center">null strings can be written out,<br/> and can be 
read back as nulls</td>
        <td align="center"><strong>NO</strong></td>
    </tr>
    </table>
    
    @HyukjinKwon and I are somewhat inclined to option(b) because it sounds 
reasonable to end users. @rxin would you make a final decision? Thanks!


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to