This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 1413dbb19d02 [SPARK-41916][FOLLOW-UP] Remove unused imports
1413dbb19d02 is described below
commit 1413dbb19d0249a51b620e3d60f3af53dde90165
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Wed Dec 17 21:20:29 2025 +0800
[SPARK-41916][FOLLOW-UP] Remove unused imports
### What changes were proposed in this pull request?
Remove unused imports
### Why are the changes needed?
clean up
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
ci
https://github.com/zhengruifeng/spark/actions/runs/20302865798/job/58312749619
### Was this patch authored or co-authored using generative AI tooling?
no
Closes #53506 from zhengruifeng/lint2.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
python/pyspark/ml/torch/distributor.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/python/pyspark/ml/torch/distributor.py
b/python/pyspark/ml/torch/distributor.py
index 3689d079f12d..9fec7782cc67 100644
--- a/python/pyspark/ml/torch/distributor.py
+++ b/python/pyspark/ml/torch/distributor.py
@@ -18,7 +18,6 @@ import json
from contextlib import contextmanager
import collections
import logging
-import math
import os
import random
import re
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]