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

Add is_synapse() #929

Merged
merged 4 commits into from
Dec 27, 2022
Merged

Add is_synapse() #929

merged 4 commits into from
Dec 27, 2022

Conversation

loomlike
Copy link
Collaborator

Description

Some notebooks require to check if the notebook is running on synapse. This is a bit hacky way to check the platform but working solution.
More explicit way should be using a spark context, but then we have to pass the spark object to the function as an argument.

How was this PR tested?

Unit tests for negative cases.
Manual tests (on databricks and synapse) for positive cases.

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>
Signed-off-by: Jun Ki Min <42475935+loomlike@users.noreply.github.com>
xiaoyongzhu
xiaoyongzhu previously approved these changes Dec 18, 2022
Signed-off-by: Jun Ki Min <42475935+loomlike@users.noreply.github.com>
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 Dec 20, 2022
@xiaoyongzhu xiaoyongzhu merged commit cd2d6fa into feathr-ai:main Dec 27, 2022
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