Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Infra] Separate out delta-spark python tests #3542

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

nastra
Copy link
Contributor

@nastra nastra commented Aug 13, 2024

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (Infra)

Description

Separate out delta-spark python tests to their own GitHub CI

How was this patch tested?

CI tests

Does this PR introduce any user-facing changes?

No

# Python tests are run only when spark group of projects are being tested.
is_testing_spark_group = args.group is None or args.group == "spark"
# Python tests are skipped when using Scala 2.13 as PySpark doesn't support it.
is_testing_scala_212 = scala_version is None or scala_version.startswith("2.12")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the scala version is part of the GH workflow configuration

@nastra nastra force-pushed the separate-out-python-tests branch 2 times, most recently from 9f9adb9 to 0644535 Compare August 14, 2024 05:10
@nastra nastra changed the title Separate out delta-spark python tests [Infra] Separate out delta-spark python tests Aug 14, 2024
@nastra nastra force-pushed the separate-out-python-tests branch from 0644535 to a0c6ecc Compare August 14, 2024 16:31
@nastra nastra force-pushed the separate-out-python-tests branch from a0c6ecc to 2491b13 Compare August 14, 2024 17:03
@scottsand-db
Copy link
Collaborator

Before this PR:

  • delta-spark against Spark 3.5.2 -- Scala 2.12 :: 84, 115, 95 -- AVG: 98.00
  • delta-spark against Spark 3.5.2 -- Scala 2.13 :: 65, 93, 78 -- AVG: 78.67

With this PR:

  • delta-spark against Spark 3.5.2 -- Scala 2.12 :: 77, 108, 88 -- AVG: 91
  • delta-spark against Spark 3.5.2 -- Scala 2.13 :: 71, 93, 84 -- AVG: 82.6

@felipepessoto
Copy link
Contributor

Hi, could you also consider this PR? It may help a bit: #2690

@nastra nastra force-pushed the separate-out-python-tests branch from 62a6f00 to 883a2a2 Compare August 21, 2024 10:06
@tdas
Copy link
Contributor

tdas commented Aug 21, 2024

we also need to split out the same for the spark master isn it?

@nastra nastra force-pushed the separate-out-python-tests branch from 883a2a2 to e28ff7c Compare August 22, 2024 08:04
@scottsand-db scottsand-db force-pushed the separate-out-python-tests branch from e28ff7c to 729efbb Compare August 27, 2024 22:45
@scottsand-db
Copy link
Collaborator

@tdas << we also need to split out the same for the spark master isn it? >> we don't run python tests for spark master at the moment

@scottsand-db scottsand-db merged commit 851ddf9 into delta-io:master Aug 28, 2024
14 of 17 checks passed
@nastra nastra deleted the separate-out-python-tests branch September 9, 2024 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants