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-40838][INFRA][TESTS] Upgrade infra base image to focal-20220922 and fix ps.mlflow doctest #38304

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions dev/infra/Dockerfile
Expand Up @@ -17,9 +17,9 @@

# Image for building and testing Spark branches. Based on Ubuntu 20.04.
# See also in https://hub.docker.com/_/ubuntu
FROM ubuntu:focal-20220801
FROM ubuntu:focal-20220922

ENV FULL_REFRESH_DATE 20220706
ENV FULL_REFRESH_DATE 20221019

ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
Expand Down
2 changes: 1 addition & 1 deletion python/pyspark/pandas/mlflow.py
Expand Up @@ -159,7 +159,7 @@ def load_model(
... lr = LinearRegression()
... lr.fit(train_x, train_y)
... mlflow.sklearn.log_model(lr, "model")
LinearRegression(...)
LinearRegression...

Now that our model is logged using MLflow, we load it back and apply it on a pandas-on-Spark
dataframe:
Expand Down