mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Added hard coded pySpark3 kernel for analyze notebook. Good to know and fix it in time. (#4009)
This commit is contained in:
@@ -113,7 +113,13 @@ async function analyzeNotebook(oeContext?: sqlops.ObjectExplorerContext): Promis
|
||||
|
||||
let editor = await sqlops.nb.showNotebookDocument(untitledUri, {
|
||||
connectionId: oeContext ? oeContext.connectionProfile.id : '',
|
||||
providerId: JUPYTER_NOTEBOOK_PROVIDER
|
||||
providerId: JUPYTER_NOTEBOOK_PROVIDER,
|
||||
preview: false,
|
||||
defaultKernel: {
|
||||
name: 'pyspark3kernel',
|
||||
display_name: 'PySpark3',
|
||||
language: 'python'
|
||||
}
|
||||
});
|
||||
if (oeContext && oeContext.nodeInfo && oeContext.nodeInfo.nodePath) {
|
||||
// Get the file path after '/HDFS'
|
||||
|
||||
Reference in New Issue
Block a user