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

[Spark] In materialize merge source: Only log storage error if we actually materialized #2727

Merged

Conversation

larsk-db
Copy link
Contributor

@larsk-db larsk-db commented Mar 7, 2024

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

Be more defensive about calling Option.get on materializedSourceRDD and check first that it's actually Some. In fact only invoke the entire branch where we log only when we actually did materialize the source (and not, say, ran out of disk space before).

How was this patch tested?

This PR adds a new test for the scenario where we throw an out of disk space error without having materialized the source.

Does this PR introduce any user-facing changes?

No

@allisonport-db allisonport-db merged commit 9c57f7b into delta-io:master Mar 8, 2024
5 of 6 checks passed
tdas pushed a commit that referenced this pull request Mar 8, 2024
#### Which Delta project/connector is this regarding?
<!--
Please add the component selected below to the beginning of the pull
request title
For example: [Spark] Title of my pull request
-->

- [ ] Spark
- [ ] Standalone
- [ ] Flink
- [ ] Kernel
- [X] Other (fill in here)

## Description

This removes compiling unidoc from the spark CI tests since we've seen a
flaky failure on #2727.

We will follow up and create a separate job just for unidoc (which makes
more sense anyways as it should run for changes in any of the projects.)

## How was this patch tested?

CI runs.
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.

3 participants