mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-29 01:25:37 -05:00
Fix HDFS node to only show up for BDC connections (#12714)
This commit is contained in:
@@ -48,6 +48,9 @@ export class MssqlObjectExplorerNodeProvider extends ProviderBase implements azd
|
||||
let sqlConnProfile = await azdata.objectexplorer.getSessionConnectionProfile(session.sessionId);
|
||||
if (!sqlConnProfile) { return false; }
|
||||
|
||||
const isBigDataCluster = await utils.isBigDataCluster(sqlConnProfile.id);
|
||||
if (!isBigDataCluster) { return false; }
|
||||
|
||||
let clusterSession = new SqlClusterSession(session, sqlConnProfile, this.appContext, this);
|
||||
this.clusterSessionMap.set(session.sessionId, clusterSession);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user