Azure-Player / azure.synapse.tools

PowerShell module to deploy Synapse workspace (and more) in Microsoft Azure.
MIT License
20 stars 8 forks source link

Add new line character to config #26

Closed LiquoriChris closed 7 months ago

LiquoriChris commented 7 months ago

Hello,

I am trying to add a config replacement for a notebook parameter, but it requires a new line at the end of the string.

Example:

type,name,path,value

notebook,notebook1,$.properties.cells[0].source[14],"output_storage_account = 'myStorage'\r\n"

However, in the notebook, there is no new line and combines the next line with the following:

output_storage_account = 'myStorage'\\r\\ntemp_output="temp"

Is there a specific syntax I should be using in the csv?

Thanks.

LiquoriChris commented 7 months ago

Fixed. Needed to use `r`n instead of \r\n.