[
https://issues.apache.org/jira/browse/SPARK-61427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated SPARK-61427:
-----------------------------------
Labels: pull-request-available (was: )
> Consolidate VALUE_ALLOWED into VALUE_NOT_ALLOWED in PySpark
> -----------------------------------------------------------
>
> Key: SPARK-61427
> URL: https://issues.apache.org/jira/browse/SPARK-61427
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 5.0.0
> Reporter: Ruifeng Zheng
> Priority: Major
> Labels: pull-request-available
>
> Consolidate PySpark's VALUE_ALLOWED error condition into VALUE_NOT_ALLOWED.
> VALUE_ALLOWED is used only when rejecting '#' in an artifact path and ',' in
> a Spark Connect tag. Reuse VALUE_NOT_ALLOWED at both call sites, describing
> the permitted strings through allowed_values, and remove the unused
> VALUE_ALLOWED definition. Keep the existing VALUE_NOT_ALLOWED template and
> input validation behavior.
> The error condition and message parameters change for these two invalid-input
> cases.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]