mbutrovich commented on code in PR #391: URL: https://github.com/apache/datafusion-spark/pull/391#discussion_r4773513141
########## crates/sqllogictest/scripts/pyspark_slt_runner.py: ########## @@ -44,10 +46,23 @@ # A comment that marks the next record as a known difference from Spark: # # # xfail spark: <reason> +# # xfail spark<4.0: <reason> +# +# The second form applies only to the Spark versions that match every +# comma-separated condition, such as `>=4.0, <4.2`. A record can have several +# markers, and the first that matches the Spark version applies. Review Comment: `>=4.0, <4.2` matches neither 3.5 nor 4.2, so the runner now rejects a marker with this condition as one that never applies. [`test_xfail_that_never_applies`](https://github.com/apache/datafusion-spark/blob/c4d1e78aa8ec5528b2f30fc9df8ed84bebc18a49/crates/sqllogictest/scripts/test_pyspark_slt_runner.py#L127-L129) checks exactly this condition. The README and `test_xfail_spark_versions` moved to `<=4.2`. Could this comment match them? ```suggestion # The second form applies only to the Spark versions that match every # comma-separated condition, such as `>=4.0, <=4.2`. A record can have several # markers, and the first that matches the Spark version applies. ``` -- 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]
