Bjørn Jørgensen created SPARK-38355:
---------------------------------------

             Summary: Change mktemp() to mkstemp()
                 Key: SPARK-38355
                 URL: https://issues.apache.org/jira/browse/SPARK-38355
             Project: Spark
          Issue Type: Bug
          Components: PySpark
    Affects Versions: 3.3.0
            Reporter: Bjørn Jørgensen


In the file pandasutils.py on line 262 yield tempfile.mktemp(dir=tmp)

This mktemp() is [deprecated and is not 
secure|https://docs.python.org/3/library/tempfile.html#deprecated-functions-and-variables]

We must change mktemp to mkstemp




--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to