[GitHub] HyukjinKwon commented on issue #16881: [SPARK-19543] from_json fails when the input row is empty

2019-01-02 Thread GitBox
HyukjinKwon commented on issue #16881: [SPARK-19543] from_json fails when the input row is empty URL: https://github.com/apache/spark/pull/16881#issuecomment-451057425 Can you show your df? Btw let's ask a question to mailing list next time. Here usually is supposed to discuss about the ch

[GitHub] HyukjinKwon commented on issue #16881: [SPARK-19543] from_json fails when the input row is empty

2019-01-02 Thread GitBox
HyukjinKwon commented on issue #16881: [SPARK-19543] from_json fails when the input row is empty URL: https://github.com/apache/spark/pull/16881#issuecomment-451053800 You can manually replace the empty strings to, for instance, empty object `{}` by dataframe APIs before call `from_json`.