Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add is_synapse()#929

Merged
xiaoyongzhu merged 4 commits into
feathr-ai:mainfeathr-ai/feathr:mainfrom
loomlike:jumin/is_synapseloomlike/feathr:jumin/is_synapseCopy head branch name to clipboard
Dec 27, 2022
Merged

Add is_synapse()#929
xiaoyongzhu merged 4 commits into
feathr-ai:mainfeathr-ai/feathr:mainfrom
loomlike:jumin/is_synapseloomlike/feathr:jumin/is_synapseCopy head branch name to clipboard

Conversation

@loomlike
Copy link
Copy Markdown
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
Comment thread feathr_project/setup.py Outdated
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
Comment thread feathr_project/feathr/utils/platform.py Outdated
Comment thread feathr_project/setup.py
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.