mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 09:35:37 -05:00
Fix PySpark kernel connection change (#12494)
This commit is contained in:
@@ -512,7 +512,7 @@ export class AttachToDropdown extends SelectBox {
|
||||
//Changes kernel based on connection attached to
|
||||
if (this.model.kernelAliases.includes(connectionProfile.serverCapabilities.notebookKernelAlias)) {
|
||||
this.model.changeKernel(connectionProfile.serverCapabilities.notebookKernelAlias);
|
||||
} else {
|
||||
} else if (this.model.clientSession.kernel.name === 'SQL') {
|
||||
this.model.changeKernel('SQL');
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user