dongjoon-hyun opened a new pull request, #46314:
URL: https://github.com/apache/spark/pull/46314

   ### What changes were proposed in this pull request?
   
   This PR aims to fix `mypy` failure in Python 3.10.
   
   ### Why are the changes needed?
   
   **BEFORE**
   ```
   $ python3 --version
   Python 3.10.13
   
   $ dev/lint-python --mypy
   starting mypy annotations test...
   annotations failed mypy checks:
   python/pyspark/sql/pandas/conversion.py:450: error: Unused "type: ignore" 
comment  [unused-ignore]
   Found 1 error in 1 file (checked 1013 source files)
   1
   ```
   
   **AFTER**
   ```
   $ dev/lint-python --mypy
   starting mypy annotations test...
   annotations passed mypy checks.
   
   
   all lint-python tests passed!
   ```
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass the CIs.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.


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