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

[Synapse] Update notebook and spark job definition cmdlets to support folder path #16269

Merged
merged 1 commit into from
Oct 29, 2021

Conversation

yanjungao718
Copy link
Contributor

Update 'Set-AzSynapseNoteBook' and 'Set-AzSynapseSparkJobDefinition' cmdlet to support new parameter [-FolderPath], if this parameter is specified, the notebook/spark job definition will be placed in it.

Checklist

  • I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:

@@ -540,5 +540,9 @@ public static class HelpMessages
public const string DefaultResultLimit = "The default resultLimit is 5000";

public const string SqlFilePath = "The SQL file path.";

public const string SparkConfigurationFolderPath = "The folder that this Spark job definition is in. If not specified, this Spark job definition will appear at the root level.";
Copy link
Contributor

Choose a reason for hiding this comment

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

Add an example to describe how to specify multi-level folder path.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

@@ -31,6 +31,7 @@
- Added `Remove-AzSynapseSqlScript` cmdlet
- Added `Export-AzSynapseSqlScript` cmdlet
- Added `Set-AzSynapseSqlScript` cmdlet
* Updated `Set-AzSynapseNoteBook` and `Set-AzSynapseSparkJobDefinition` to support new parameter [-FolderPath]
Copy link
Contributor

Choose a reason for hiding this comment

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

Please move change message to the top of upcoming release section

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

-update change log

-add example for specifying multi-level folder path

-update FolderName to FolderPath as PowerShell Team suggested

-update foldername description in help doc

-resolve some comments in code review

-update change log

-add new parameter foldername
@BethanyZhou BethanyZhou self-assigned this Oct 29, 2021
@BethanyZhou BethanyZhou merged commit 9715db5 into Azure:main Oct 29, 2021
BethanyZhou added a commit that referenced this pull request Oct 29, 2021
* Update ci config to add tools/GeneratedModuleList.txt to skip list (#16216)

Co-authored-by: wyunchi-ms <[email protected]>

* Fix an issue in checking if we need to prompt survey. (#16232)

* Fix FirewallRuleName wildcard filtering in Get-AzSqlServerFirewallRule (#16237)

* Add Wildcard helper

* Fix wildcard filtering in Get-AzSqlServerFirewallRule

* Update src/Sql/Sql/ChangeLog.md

Co-authored-by: Beisi Zhou <[email protected]>

* [Storage] Add example for move datalakegen2 item with Sas (#16256)

* Update Invoke-AzVMRunCommand.md (#16000)

* Update Invoke-AzVMRunCommand.md

#15704

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

* Update Invoke-AzVMRunCommand.md

Co-authored-by: Yunchi Wang <[email protected]>
Co-authored-by: Beisi Zhou <[email protected]>

* Update notebook and spark job definition cmdlets to support folder path (#16269)

-update change log

-add example for specifying multi-level folder path

-update FolderName to FolderPath as PowerShell Team suggested

-update foldername description in help doc

-resolve some comments in code review

-update change log

-add new parameter foldername

Co-authored-by: Yunchi Wang <[email protected]>
Co-authored-by: wyunchi-ms <[email protected]>
Co-authored-by: kceiw <[email protected]>
Co-authored-by: Reggie Gibson <[email protected]>
Co-authored-by: Wei Wei <[email protected]>
Co-authored-by: Micah McKittrick <[email protected]>
Co-authored-by: YanjunGao <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants