You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by do...@apache.org on 2026/03/31 07:09:06 UTC
(spark) branch master updated: [SPARK-56301][PYTHON] Fix typos in `error-conditions.json`
This is an automated email from the ASF dual-hosted git repository.
dongjoon 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 292e1d56c5e8 [SPARK-56301][PYTHON] Fix typos in `error-conditions.json`
292e1d56c5e8 is described below
commit 292e1d56c5e81d1de346efe3ef12526f0158d121
Author: Ruifeng Zheng <ru...@apache.org>
AuthorDate: Tue Mar 31 00:08:56 2026 -0700
[SPARK-56301][PYTHON] Fix typos in `error-conditions.json`
### What changes were proposed in this pull request?
fix typos
### Why are the changes needed?
to fix typos
### Does this PR introduce _any_ user-facing change?
error-message changes
### How was this patch tested?
CI
### Was this patch authored or co-authored using generative AI tooling?
Co-authored-by: Claude Code (Opus 4.6)
Closes #55105 from zhengruifeng/py_error_cleanup.
Authored-by: Ruifeng Zheng <ru...@apache.org>
Signed-off-by: Dongjoon Hyun <do...@apache.org>
---
python/pyspark/errors/error-conditions.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/python/pyspark/errors/error-conditions.json b/python/pyspark/errors/error-conditions.json
index 6549c39ec0e1..74ac0ece6b2a 100644
--- a/python/pyspark/errors/error-conditions.json
+++ b/python/pyspark/errors/error-conditions.json
@@ -27,7 +27,7 @@
},
"AXIS_LENGTH_MISMATCH": {
"message": [
- "Length mismatch: Expected axis has <expected_length> element, new values have <actual_length> elements."
+ "Length mismatch: Expected axis has <expected_length> elements, new values have <actual_length> elements."
]
},
"BROADCAST_VARIABLE_NOT_LOADED": {
@@ -37,7 +37,7 @@
},
"CALL_BEFORE_INITIALIZE": {
"message": [
- "Not supported to call `<func_name>` before initialize <object>."
+ "Not supported to call `<func_name>` before initializing <object>."
]
},
"CANNOT_ACCESS_TO_DUNDER": {
@@ -92,7 +92,7 @@
},
"CANNOT_INFER_ARRAY_ELEMENT_TYPE": {
"message": [
- "Can not infer the element data type, an non-empty list starting with an non-None value is required."
+ "Can not infer the element data type, a non-empty list starting with a non-None value is required."
]
},
"CANNOT_INFER_EMPTY_SCHEMA": {
@@ -184,7 +184,7 @@
},
"CONTEXT_ONLY_VALID_ON_DRIVER": {
"message": [
- "It appears that you are attempting to reference SparkContext from a broadcast variable, action, or transformation. SparkContext can only be used on the driver, not in code that it run on workers. For more information, see SPARK-5063."
+ "It appears that you are attempting to reference SparkContext from a broadcast variable, action, or transformation. SparkContext can only be used on the driver, not in code that runs on workers. For more information, see SPARK-5063."
]
},
"CONTEXT_UNAVAILABLE_FOR_REMOTE_CLIENT": {
@@ -533,7 +533,7 @@
},
"KEY_NOT_EXISTS": {
"message": [
- "Key `<key>` is not exists."
+ "Key `<key>` does not exist."
]
},
"KEY_VALUE_PAIR_REQUIRED": {
@@ -1186,7 +1186,7 @@
},
"VALUE_NOT_PEARSON": {
"message": [
- "Value for `<arg_name>` only supports the 'pearson', got '<arg_value>'."
+ "Value for `<arg_name>` only supports 'pearson', got '<arg_value>'."
]
},
"VALUE_NOT_PLAIN_COLUMN_REFERENCE": {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org