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

Fix loadSavedModel for DBFS #13784

Merged

Conversation

DevinTDHa
Copy link
Member

Description

This PR fixes a bug, where loadSavedModel throws an error, when trying to access files via DBFS.

It seems like in a previous commit for a new feature, ResourceHelper's path variable changed types from Path to Option[Path] . Calling the toString method on this type will instead convert the Option instead of the actual path. This was fixed with path.get.

How Has This Been Tested?

Tested on Databricks and it is working again as expected.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Code improvements with no or little impact
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@DevinTDHa DevinTDHa self-assigned this May 5, 2023
@maziyarpanahi maziyarpanahi changed the base branch from master to release/442-release-candidate May 10, 2023 12:00
@maziyarpanahi maziyarpanahi merged commit b8a8cb1 into JohnSnowLabs:release/442-release-candidate May 10, 2023
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants