sqlnotebook.psm1
#------------------------------------------------------------ # Copyright (c) Microsoft Corporation. All rights reserved. #------------------------------------------------------------ Set-StrictMode -Version Latest function Invoke-SqlNotebook { [CmdletBinding(DefaultParameterSetName="ByConnectionParameters")] [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUsePSCredentialType", "Username", Justification="Intentionally allowing User/Password, in addition to a PSCredential parameter.")] [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingPlainTextForPassword", "Password", Justification="Intentionally allowing User/Password, in addition to a PSCredential parameter.")] [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingUsernameAndPasswordParams", "", Justification="Intentionally allowing User/Password, in addition to a PSCredential parameter.")] # Parameters param( [Parameter(Mandatory = $false, ParameterSetName = 'ByConnectionParameters')]$ServerInstance, [Parameter(Mandatory = $false, ParameterSetName = 'ByConnectionParameters')]$Database, [Parameter(Mandatory = $false, ParameterSetName = 'ByConnectionParameters')][ValidateNotNullorEmpty()]$Username, [Parameter(Mandatory = $false, ParameterSetName = 'ByConnectionParameters')][ValidateNotNullorEmpty()]$Password, [Parameter(Mandatory = $false, ParameterSetName = 'ByConnectionString')][ValidateNotNullorEmpty()]$ConnectionString, [Parameter(Mandatory = $false, ParameterSetName = 'ByConnectionParameters')][ValidateNotNullorEmpty()][PSCredential]$Credential, [Parameter(Mandatory = $true, ParameterSetName='ByInputFile')] [Parameter(ParameterSetName = 'ByConnectionParameters')] [Parameter(ParameterSetName = 'ByConnectionString')]$InputFile, [Parameter(Mandatory = $true, ParameterSetName='ByInputObject')] [Parameter(ParameterSetName = 'ByConnectionParameters')] [Parameter(ParameterSetName = 'ByConnectionString')]$InputObject, [Parameter(Mandatory = $false)][ValidateNotNullorEmpty()]$OutputFile, [Parameter(Mandatory = $false, ParameterSetName = 'ByConnectionParameters')][ValidateNotNullorEmpty()][string]$AccessToken, [Switch]$Force ) #Checks to see if OutputFile is given #If it is, checks to see if extension is there function getOutputFile($inputFile,$outputFile) { if($outputFile) { $extn = [IO.Path]::GetExtension($outputFile) if ($extn.Length -eq 0) { $outputFile = ($outputFile + ".ipynb") } $outputFile } else { #If User does not define Output it will use the inputFile file location $fileinfo = Get-Item $inputFile # Create an output file based on the file path of input and name Join-Path $fileinfo.DirectoryName ($fileinfo.BaseName + "_out" + $fileinfo.Extension) } } #Validates InputFile and Converts InputFile to Json Object function getFileContents($inputfile) { if (-not (Test-Path -Path $inputfile)) { Throw New-Object System.IO.FileNotFoundException ($inputfile + " does not exist") } $fileItem = Get-Item $inputfile #Checking if file is a python notebook if ($fileItem.Extension -ne ".ipynb") { Throw New-Object System.FormatException "Only ipynb files are supported" } $fileContent = Get-Content $inputfile try { $fileContentJson = ($fileContent | ConvertFrom-Json) } catch { Throw New-Object System.FormatException "Malformed Json file" } $fileContentJson } #Validate SQL Kernel Notebook function validateKernelType($fileContentJson) { if ($fileContentJson.metadata.kernelspec.name -ne "SQL") { Throw New-Object System.NotSupportedException "Kernel type '$($fileContentJson.metadata.kernelspec.name)' not supported." } } #Validate non-existing output file #If file exists and $throwifexists, an exception is thrown. function validateExistingOutputFile($outputfile, $throwifexists) { if ($outputfile -and (Test-Path $outputfile) -and $throwifexists) { Throw New-Object System.IO.IOException "The file '$($outputfile)' already exists. Please, specify -Force to overwrite it." } } #Parsing Notebook Data to Notebook Output function ParseTableToNotebookOutput { param ( [System.Data.DataTable] $DataTable, [int] $CellExecutionCount ) $TableHTMLText = "<table>" $TableSchemaFeilds = @() $TableHTMLText += "<tr>" foreach ($ColumnName in $DataTable.Columns) { $TableSchemaFeilds += @(@{name = $ColumnName.toString() }) $TableHTMLText += "<th>" + $ColumnName.toString() + "</th>" } $TableHTMLText += "</tr>" $TableSchema = @{ } $TableSchema["fields"] = $TableSchemaFeilds $TableDataRows = @() foreach ($Row in $DataTable) { $TableDataRow = [ordered]@{ } $TableHTMLText += "<tr>" $i = 0 foreach ($Cell in $Row.ItemArray) { $TableDataRow[$i.ToString()] = $Cell.toString() $TableHTMLText += "<td>" + $Cell.toString() + "</td>" $i++ } $TableHTMLText += "</tr>" $TableDataRows += $TableDataRow } $TableDataResource = @{ } $TableDataResource["schema"] = $TableSchema $TableDataResource["data"] = $TableDataRows $TableData = @{ } $TableData["application/vnd.dataresource+json"] = $TableDataResource $TableData["text/html"] = $TableHTMLText $TableOutput = @{ } $TableOutput["output_type"] = "execute_result" $TableOutput["data"] = $TableData $TableOutput["metadata"] = @{ } $TableOutput["execution_count"] = $CellExecutionCount return $TableOutput } #Parsing the Error Messages to Notebook Output function ParseQueryErrorToNotebookOutput { param ( $QueryError ) <# Following the current syntax of errors in T-SQL notebooks from ADS #> $ErrorString = "Msg " + $QueryError.Exception.InnerException.Number + ", Level " + $QueryError.Exception.InnerException.Class + ", State " + $QueryError.Exception.InnerException.State + ", Line " + $QueryError.Exception.InnerException.LineNumber + "`r`n" + $QueryError.Exception.Message $ErrorOutput = @{ } $ErrorOutput["output_type"] = "error" $ErrorOutput["traceback"] = @() $ErrorOutput["evalue"] = $ErrorString return $ErrorOutput } #Parsing Messages to Notebook Output function ParseStringToNotebookOutput { param ( [System.String] $InputString ) <# Parsing the string to notebook cell output. It's the standard Jupyter Syntax #> $StringOutputData = @{ } $StringOutputData["text/html"] = $InputString $StringOutput = @{ } $StringOutput["output_type"] = "display_data" $StringOutput["data"] = $StringOutputData $StringOutput["metadata"] = @{ } return $StringOutput } #Start of Script #Checks to see if InputFile or InputObject was entered #Checks to InputFile Type and initializes OutputFile if ($InputFile -is [System.String]) { $fileInformation = getFileContents($InputFile) $fileContent = $fileInformation[0] $OutputFile = getOutputFile $InputFile $OutputFile } elseif ($InputFile -is [System.IO.FileInfo]) { $fileInformation = getFileContents($InputFile.FullName) $fileContent = $fileInformation[0] $OutputFile = getOutputFile $InputFile $OutputFile } else { $fileContent = $InputObject } #Checks InputObject and converts that to appropriate Json object if ($InputObject -is [System.String]) { $fileContentJson = ($InputObject | ConvertFrom-Json) $fileContent = $fileContentJson[0] } #Validates only SQL Notebooks validateKernelType $fileContent #Validate that $OutputFile does not exist, or, if it exists a -Force was passed in. validateExistingOutputFile $OutputFile (-not $Force) #Setting params for Invoke-Sqlcmd $DatabaseQueryHashTable = @{ } #Checks to see if User entered ConnectionString or individual parameters if ($ConnectionString) { $DatabaseQueryHashTable["ConnectionString"] = $ConnectionString } else { if ($ServerInstance) { $DatabaseQueryHashTable["ServerInstance"] = $ServerInstance } if ($Database) { $DatabaseQueryHashTable["Database"] = $Database } #Checks to see if User entered AccessToken, Credential, or individual parameters if ($AccessToken) { $DatabaseQueryHashTable["AccessToken"] = $AccessToken } else { if ($Credential) { $DatabaseQueryHashTable["Credential"] = $Credential } else { if ($Username) { $DatabaseQueryHashTable["Username"] = $Username } if ($Password) { $DatabaseQueryHashTable["Password"] = $Password } } } } #Setting additional parameters for Invoke-SQLCMD to get #all the information from Notebook execution to output $DatabaseQueryHashTable["Verbose"] = $true $DatabaseQueryHashTable["ErrorVariable"] = "SqlQueryError" $DatabaseQueryHashTable["OutputAs"] = "DataTables" #The first code cell number $cellExecutionCount = 1 #Iterate through Notebook Cells $fileContent.cells | Where-Object { # Ignoring Markdown or raw cells $_.cell_type -ne "markdown" -and $_.cell_type -ne "raw" -and $_.source -ne "" } | ForEach-Object { $NotebookCellOutputs = @() # Getting the source T-SQL from the cell # Note that the cell's source field can be # an array (or strings) or a scalar (string). # If an array, elements are properly terminated with CR/LF. $DatabaseQueryHashTable["Query"] = $_.source -join '' # Executing the T-SQL Query and storing the result and the time taken to execute $SqlQueryExecutionTime = Measure-Command { [Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseDeclaredVarsMoreThanAssignments", "SqlQueryResult", Justification="Suppressing false warning.")] $SqlQueryResult = @( Invoke-Sqlcmd @DatabaseQueryHashTable -ErrorAction SilentlyContinue 4>&1) } # Setting the Notebook Cell Execution Count to increase count of each code cell # Note: handle the case where the 'execution_count' property is missing. if (-not ($_ | Get-Member execution_count)) { $_ | Add-Member -Name execution_count -Value $null -MemberType NoteProperty } $_.execution_count = $cellExecutionCount++ $NotebookCellTableOutputs = @() <# Iterating over the results by Invoke-Sqlcmd There are 2 types of errors: 1. Verbose Output: Print Statements: These needs to be added to the beginning of the cell outputs 2. Datatables from the database These needs to be added to the end of cell outputs #> $SqlQueryResult | ForEach-Object { if ($_ -is [System.Management.Automation.VerboseRecord]) { # Adding the print statments to the cell outputs $NotebookCellOutputs += $(ParseStringToNotebookOutput($_.Message)) } elseif ($_ -is [System.Data.DataTable]) { # Storing the print Tables into an array to be added later to the cell output $NotebookCellTableOutputs += $(ParseTableToNotebookOutput $_ $CellExecutionCount) } elseif ($_ -is [System.Data.DataRow]) { # Storing the print row into an array to be added later to the cell output $NotebookCellTableOutputs += $(ParseTableToNotebookOutput $_.Table $CellExecutionCount) } } if ($SqlQueryError) { # Adding the parsed query error from Invoke-Sqlcmd $NotebookCellOutputs += $(ParseQueryErrorToNotebookOutput($SqlQueryError)) } if ($SqlQueryExecutionTime) { # Adding the parsed execution time from Measure-Command $NotebookCellExcutionTimeString = "Total execution time: " + $SqlQueryExecutionTime.ToString() $NotebookCellOutputs += $(ParseStringToNotebookOutput($NotebookCellExcutionTimeString)) } # Adding the data tables $NotebookCellOutputs += $NotebookCellTableOutputs # In the unlikely case the 'outputs' property is missing from the JSON # object, we add it. if (-not ($_ | Get-Member outputs)) { $_ | Add-Member -Name outputs -Value $null -MemberType NoteProperty } $_.outputs = $NotebookCellOutputs } # This will update the Output file according to the executed output of the notebook if ($OutputFile) { ($fileContent | ConvertTo-Json -Depth 100 ) | Out-File -Encoding Ascii -FilePath $OutputFile Get-Item $OutputFile } else { $fileContent | ConvertTo-Json -Depth 100 } } # SIG # Begin signature block # MIIjrwYJKoZIhvcNAQcCoIIjoDCCI5wCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQC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