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, ValueFromPipeline = $true, ParameterSetName = 'ByConnectionParameters')]$ServerInstance, [Parameter(Mandatory = $false, ValueFromPipeline = $true, ParameterSetName = 'ByConnectionParameters')]$Database, [Parameter(Mandatory = $false, ValueFromPipeline = $true, ParameterSetName = 'ByConnectionParameters')][ValidateNotNullorEmpty()]$Username, [Parameter(Mandatory = $false, ValueFromPipeline = $true, ParameterSetName = 'ByConnectionParameters')][ValidateNotNullorEmpty()]$Password, [Parameter(Mandatory = $false, ValueFromPipeline = $true, ParameterSetName = 'ByConnectionString')][ValidateNotNullorEmpty()]$ConnectionString, [Parameter(Mandatory = $false, ValueFromPipeline = $true, ParameterSetName = 'ByConnectionParameters')][ValidateNotNullorEmpty()][PSCredential]$Credential, [Parameter(Mandatory = $true, ParameterSetName='ByInputFile')] [Parameter(ParameterSetName = 'ByConnectionParameters')] [Parameter(ParameterSetName = 'ByConnectionString')]$InputFile, [Parameter(Mandatory = $true, ValueFromPipeline = $true, ParameterSetName='ByInputObject')] [Parameter(ParameterSetName = 'ByConnectionParameters')] [Parameter(ParameterSetName = 'ByConnectionString')]$InputObject, [Parameter(Mandatory = $false, ValueFromPipeline = $true)][ValidateNotNullorEmpty()]$OutputFile, [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 switch ($InputFile) { {$_ -is [System.String]} { $fileInformation = getFileContents($_) $fileContent = $fileInformation[0] $OutputFile = getOutputFile $_ $OutputFile break } {$_ -is [System.IO.FileInfo]} { $fileInformation = getFileContents($_.FullName) $fileContent = $fileInformation[0] $OutputFile = getOutputFile $_ $OutputFile break } default { $fileContent = $InputObject } } #Checks InputObject and converts that to appropriate Json object switch ($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 Credential or individual parameters 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 #$DatabaseQueryHashTable["Query"] = $_.source switch($_.source) { {($_.getType().FullName) -is [System.Object[]]} { $DatabaseQueryHashTable["Query"] = ($_ -join "`r`n" | Out-String) break } {$_.getType().FullName -is [System.String]} { $DatabaseQueryHashTable["Query"] = $_ break } } # 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 $_.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 { switch ($_) { { $_ -is [System.Management.Automation.VerboseRecord] } { # Adding the print statments to the cell outputs $NotebookCellOutputs += $(ParseStringToNotebookOutput($_.Message)) break } { $_ -is [System.Data.DataTable] } { # Storing the print Tables into an array to be added later to the cell output $NotebookCellTableOutputs += $(ParseTableToNotebookOutput $_ $CellExecutionCount) break } { $_ -is [System.Data.DataRow] } { # Storing the print row into an array to be added later to the cell output $NotebookCellTableOutputs += $(ParseTableToNotebookOutput $_.Table $CellExecutionCount) break } } } 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 $_.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 # MIIjvgYJKoZIhvcNAQcCoIIjrzCCI6sCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAzhZRgT7TnSBlE # KiFo1Vu4BpGvqrzgm8I9cW5+An64IKCCDYEwggX/MIID56ADAgECAhMzAAABh3IX # chVZQMcJAAAAAAG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