microsoft / Kusto-Query-Language

Kusto Query Language is a simple and productive language for querying Big Data.
Apache License 2.0
510 stars 97 forks source link

.create mapping doesn't understand some types of format strings #115

Closed vplauzon closed 1 year ago

vplauzon commented 1 year ago

The following command:

.create-or-alter table mytable ingestion csv mapping 'Map ping1' '[' '{' '"column" : "rownumber",' '"DataType":"int",' '"Properties":{"Ordinal":"0"}' '}' ']'

gets everything passed the first '[' as skipped token.

By opposition when three ticks are used, the content is parsed into one string expression.

mattwar commented 1 year ago

It is true, command syntax does not understand compound string literals, and it probably will not ever due to legacy issues.