microsoft / Kusto-Query-Language

Kusto Query Language is a simple and productive language for querying Big Data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

vplauzon opened this issue · comments

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.

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