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

JSON body streamingingestion policy varies depending on table name? #130

Closed vplauzon closed 8 months ago

vplauzon commented 8 months ago

The following:

.alter table mytable policy streamingingestion
{
    "IsEnabled":true
}

has the JSON policy body be in a literal string expression with NameInParent=="streamingingestion". Relatively easy to pickup.

While this (note the db name is explicitely mentioned):

.alter table mydb.mytable policy streamingingestion
{
    "IsEnabled":true
}

has the policy JSON body in a skipped token node? Is that even guaranteed to be a legal policy?

vplauzon commented 8 months ago

My bad: the samples I used in my tests didn't have the quotes for the JSON payload.

I'm closing this.