microsoft / delta-kusto

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

Allow all line breaks #171

Open tonystevenj opened 5 months ago

tonystevenj commented 5 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