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 nyc_taxi data utils bug in databricks path #1050

Merged
merged 2 commits into from
Feb 10, 2023

Conversation

loomlike
Copy link
Collaborator

@loomlike loomlike commented Feb 9, 2023

Signed-off-by: Jun Ki Min 42475935+loomlike@users.noreply.github.com

Description

nyc_taxi.get_spark_df doesn't parses the local_cache_path argument correctly when it has "/dbfs/" prefix.
Previously, "/dbfs/myfile" is parsed as "dbfs:/dbfs/myfile", but it should be "dbfs:/myfile" instead.
This PR fixes this behavior.

How was this PR tested?

Added more unit test cases after the fix.

Does this PR introduce any user-facing changes?

  • No. You can skip the rest of this section.
  • Yes. Make sure to clarify your proposed changes.

Signed-off-by: Jun Ki Min <42475935+loomlike@users.noreply.github.com>
@loomlike loomlike added the safe to test Tag to execute build pipeline for a PR from forked repo label Feb 9, 2023
Copy link
Collaborator

@jainr jainr left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@jainr
Copy link
Collaborator

jainr commented Feb 9, 2023

After your PR, does this custom logic in sample notebook needs to be changed as well?
image

@loomlike loomlike merged commit a7913f1 into feathr-ai:main Feb 10, 2023
@loomlike loomlike deleted the jumin/fix_nyc_databricks_path branch February 10, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test Tag to execute build pipeline for a PR from forked repo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants