microsoft / delta-kusto

Engine able to compute delta between ADX clusters (and/or Kusto scripts) and generate update scripts
MIT License
46 stars 18 forks source link

Allow all line breaks #171

Open tonystevenj opened 4 months ago

tonystevenj commented 4 months ago

When pulling our cluster, met a error where some new lines were not correctly parsed. This PR will fix this issue.

Reproduce: This function with '/r' line ending will cause problem.

.create-or-alter function with (folder="hwtest", docstring="Simple demo function", skipvalidation=true) ['hwtestFunction'] () 
{ // test comment
   event | where timestamp between (start..end) // test comment2
   | take 1
}

image