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

Ingestion mapping: removeOldestIfRequired property #117

Closed vplauzon closed 11 months ago

vplauzon commented 1 year ago

The following KQL command is now legal:

.create-or-alter table T ingestion csv mapping 'my-mapping' '[{"Properties":{"Ordinal":"0"},"column":"PreciseTimeStamp","datatype":""}]' with (removeOldestIfRequired=False)

Currently the parser puts everything after the the mapping name in "skipped tokens", including the removeOldestIfRequired property.

It is therefore quite convoluted to grab the property value.

mattwar commented 11 months ago

This is fixed in the next published version.