Skip to content

Commit ce35643

Browse files
Chong Gaores-life
authored andcommitted
Handle Spark version suffixes in Iceberg test gate
Signed-off-by: Chong Gao <chongg@nvidia.com>
1 parent 33b021f commit ce35643

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

integration_tests/src/main/python/iceberg/iceberg_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@
5151

5252

5353
def _is_spark_patch_at_least(minimum):
54-
return int(spark_version().split(".")[2]) >= minimum
54+
patch = spark_version().split(".")[2].split("-", 1)[0]
55+
return int(patch) >= minimum
5556

5657

5758
def _collect_plan_nodes(plan):

0 commit comments

Comments
 (0)