Yikun commented on pull request #34285:
URL: https://github.com/apache/spark/pull/34285#issuecomment-943288969


   I will add [the testcase which xinrong 
mentioned](https://issues.apache.org/jira/browse/SPARK-36000?focusedCommentId=17383667&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17383667)
 under `pyspark/sql/tests/test_dataframe.py` in next commit, like:
   
   ```python
       # test for SPARK-36337
       def test_create_nan_decimal_dataframe(self):
           self.assertEqual(
               self.spark.createDataFrame(data=[Decimal('NaN')], 
schema='decimal').collect(),
               [Row(value=None)]
           )
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to