Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit d42581a

Browse files
authored
Merge pull request #17445 from cawrites/lang-extension-technology
Lang extension technology
2 parents e426695 + 01b0251 commit d42581a

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

docs/machine-learning/install/custom-runtime-python.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ monikerRange: ">=sql-server-ver15||>=sql-server-linux-ver15||=sqlallproducts-all
1313
# Install a Python custom runtime for SQL Server
1414
[!INCLUDE [SQL Server 2019 and later](../../includes/applies-to-version/sqlserver2019.md)]
1515

16-
This article describes how to install a custom runtime for running Python scripts with SQL Server. The custom runtime for Python can be used in the following scenarios:
16+
This article describes how to install a custom runtime for running Python scripts with SQL Server. The custom runtime uses language extension technology built on an extensibility framework for executing external code. The custom runtime for Python can be used in the following scenarios:
1717

1818
+ An installation of SQL Server with extensibility framework.
1919

@@ -24,6 +24,8 @@ This article describes how to install a custom runtime for running Python script
2424
> [!NOTE]
2525
> This article describes how to install a custom runtime for Python on Windows. To install on Linux, see [Install a Python custom runtime for SQL Server on Linux](custom-runtime-python.md?view=sql-server-linux-ver15&preserve-view=true).
2626
27+
28+
2729
## Pre-install checklist
2830

2931
Before installing a Python custom runtime, install the following:
@@ -74,7 +76,7 @@ Language Extensions use the extensibility framework for executing external code.
7476

7577
Install [Python 3.7]( https://www.python.org/downloads/release/python-379/) and add it to the PATH.
7678

77-
![Add Python 3.7 to path.](../install/media/python-379.png) **update image - note**
79+
![Add Python 3.7 to path.](../install/media/python-379.png)
7880

7981

8082
#### Install pandas
@@ -99,7 +101,7 @@ If PYTHONHOME already exists, select **Edit** to point it to the Python 3.7 inst
99101

100102
## Grant access to the custom Python installation folder
101103

102-
Run the following **icacls** commands from a new *elevated* command prompt to grant READ & EXECUTE access to PYTHONHOME to **SQL Server Launchpad Service** and SID **S-1-15-2-1** (**ALL_APPLICATION_PACKAGES**). The launchpad service username is of the form `NT Service\MSSQLLAUNCHPAD$INSTANCENAME* where INSTANCENAME` is the instance name of your SQL Server. The commands will recursively grant access to all files and folders under the given directory path.
104+
Run the following **icacls** commands from a new *elevated* command prompt to grant READ & EXECUTE access to PYTHONHOME to **SQL Server Launchpad Service** and SID **S-1-15-2-1** (**ALL_APPLICATION_PACKAGES**). The launchpad service username is: `NT Service\MSSQLLAUNCHPAD$INSTANCENAME* where INSTANCENAME` is the instance name of your SQL Server. The commands will recursively grant access to all files and folders under the given directory path.
103105

104106
Append the instance name to `MSSQLLAUNCHPAD` (`MSSQLLAUNCHPAD$INSTANCENAME`). In this example, INSTANCENAME is the default instance `MSSQLSERVER`.
105107

docs/machine-learning/install/custom-runtime-r.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ monikerRange: ">=sql-server-ver15||>=sql-server-linux-ver15||=sqlallproducts-all
1414

1515
[!INCLUDE [SQL Server 2019 and later](../../includes/applies-to-version/sqlserver2019.md)]
1616

17-
This article describes how to install a custom runtime for running R scripts with SQL Server. The custom runtime for R can be used in the following scenarios:
17+
This article describes how to install a custom runtime for running R scripts with SQL Server. The custom runtime uses language extension technology built on an extensibility framework for executing external code. The custom runtime for R can be used in the following scenarios:
1818

1919
+ An installation of SQL Server with extensibility framework.
2020

0 commit comments

Comments
 (0)