From 2d71397ffe4eb7d36c96fae3fbd17d6c7bb3c8ae Mon Sep 17 00:00:00 2001 From: Leila Lali Date: Thu, 27 May 2021 12:31:38 -0700 Subject: [PATCH] Updating sqlmlutils package for R and Python (#15549) --- extensions/machine-learning/config.json | 14 +++++++------- .../packageManagement/sqlRPackageManageProvider.ts | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/extensions/machine-learning/config.json b/extensions/machine-learning/config.json index 7836cb0ab75..bc8cedfb6b3 100644 --- a/extensions/machine-learning/config.json +++ b/extensions/machine-learning/config.json @@ -3,7 +3,7 @@ "requiredPythonPackages": [ { "name": "sqlmlutils", - "version": "1.0.3" + "version": "1.1.0" } ], "requiredRPackages": [ @@ -17,20 +17,20 @@ }, { "name": "sqlmlutils", - "fileName": "sqlmlutils_0.7.3.zip", - "downloadUrl": "https://github.com/microsoft/sqlmlutils/releases/download/R-0.7.3/sqlmlutils_0.7.3.zip", + "fileName": "sqlmlutils_1.0.0.zip", + "downloadUrl": "https://github.com/microsoft/sqlmlutils/releases/download/R-1.0.0/sqlmlutils_1.0.0.zip", "platform" : "win32" }, { "name": "sqlmlutils", - "fileName": "sqlmlutils_0.7.3.tar.gz", - "downloadUrl": "https://github.com/microsoft/sqlmlutils/releases/download/R-0.7.3/sqlmlutils_0.7.3.tar.gz", + "fileName": "sqlmlutils_1.0.0.tar.gz", + "downloadUrl": "https://github.com/microsoft/sqlmlutils/releases/download/R-1.0.0/sqlmlutils_1.0.0.tar.gz", "platform" : "darwin" }, { "name": "sqlmlutils", - "fileName": "sqlmlutils_0.7.3.tar.gz", - "downloadUrl": "https://github.com/microsoft/sqlmlutils/releases/download/R-0.7.3/sqlmlutils_0.7.3.tar.gz", + "fileName": "sqlmlutils_1.0.0.tar.gz", + "downloadUrl": "https://github.com/microsoft/sqlmlutils/releases/download/R-1.0.0/sqlmlutils_1.0.0.tar.gz", "platform" : "linux" } ], diff --git a/extensions/machine-learning/src/packageManagement/sqlRPackageManageProvider.ts b/extensions/machine-learning/src/packageManagement/sqlRPackageManageProvider.ts index 8ac9d896d96..6ffd6a8b9ad 100644 --- a/extensions/machine-learning/src/packageManagement/sqlRPackageManageProvider.ts +++ b/extensions/machine-learning/src/packageManagement/sqlRPackageManageProvider.ts @@ -69,7 +69,7 @@ export class SqlRPackageManageProvider extends SqlPackageManageProviderBase impl let connectionParts: string[] = []; if (connection) { - connectionParts.push(utils.getKeyValueString('driver', constants.supportedODBCDriver)); + connectionParts.push(utils.getKeyValueString('driver', `"${constants.supportedODBCDriver}"`)); let server = connection.serverName.replace('\\', '\\\\'); if (databaseName) { connectionParts.push(utils.getKeyValueString('database', `"${databaseName}"`));