Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
databricks bundle init template v1 #686
databricks bundle init template v1 #686
Changes from all commits
59c1c73
2b67262
737c612
2955e84
ea5666a
a1c6b3b
6ae0279
568afe0
37de1e7
a3c7e54
a7c6928
9435670
cfa8a83
4340356
9d41ccc
581aae6
bc57e53
79370f8
078805f
c1ae220
8554b4e
6a82aee
44bc9e9
3660191
6c1f80a
2a3b86c
9f937ed
30c5e04
35350b4
b071ad7
f6c769b
a7407f0
886a4e5
9451d16
da854ef
0667a10
dd0eba4
53b1c2d
fde7eb3
c87a648
81c2ff4
d351fbf
6bed4d1
369c578
01c9868
79e9211
a5068bb
aea403f
391ab24
9063af7
2833db9
2b33682
f650a3f
db52765
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Loading a fixture with a relative path requires us to set $PWD.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes there was supposed to be some path mangling here. Which is not required on serverless, btw.
I don't think there's any way we can do this without the (broadly published) .entry_point API of dbutils. Or is there, @fjakobs?
This is what we could suggest:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The IDE adds some bootstrap code that sets CWD and python path correctly. We were considering to do the same for code deployed through DABs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fjakobs We need something that also works from a notebook in the workspace, though. Is there anything cleaner for that than the option above?
And, as we get to a solution here, we should look at moving this to public docs, e.g. to https://docs.databricks.com/en/external-data/csv.html. cc @PaulCornellDB