mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Samples on how to deploy applications to SQL Server big data cluster
Pre-requisites
-
SQL Server big data cluster CTP 2.3 or later
-
mssqlctlCLI familiarity. If you are unfamiliar withmssqlctlplease refer to - App Deployment in SQL Server big data cluster for more information. -
Tip mssqlctl app -h will display the various commands to manage the app
Available samples
Python
These samples demonstrates how you can deploy a simple Python app into SQL Server big data cluster as container app as web service that is swagger compliant for building your application.
| Sample | Description |
|---|---|
| addpy | This sample takes two numbers and returns the sum |
| magic8ball | Runs a Magic 8-Ball |
R
These samples demonstrates how you can deploy a simple R app into SQL Server big data cluster as container app as web service that is swagger compliant for building your application.
| Sample | Description |
|---|---|
| RollDice | This sample demonstrates the use of data frames by rolling dices |
MLeap
| Sample | Description |
|---|---|
| mleap | This sample demonstrates how you use a MLeap bundle (a Spark model serialized in this format) and run it outside of Spark. The sample is based on the MLeap sample available here http://mleap-docs.combust.ml/mleap-serving/. We are using the MLeap Serving container that is published in Docker Hub. The MLeap Serving is deployed as container in SQL Server big data cluster as a container app with a web service that takes the Leap Frame as the input. |
Sql Server Integration Services
| Sample | Description |
|---|---|
| SSIS | This sample demonstrates how you can run SSIS applications as a containerized application leveraging the cron capability in Kubernetes. This example uses a Data Transformation Services Package File Format (DTSX) file developed using Visual Studio that, when executed, takes a database backup. This will run as a cron job which creates the backups every minute. Please follow the README.md for detailed instructions. |
Related Links
For more information, see these articles:
How to deploy and app on SQL Server 2019 big data cluster (preview)