10

When I want to generate a new column name with extend, and the new column name contains a white space, code like below:

requests 
| extend "users name" = ""
//other codes

then an error occurs: Query could not be parsed at '=' on line xxx. So the question is that can we use white space in the new column name with extend?

I also tried use single quote, still the same error.

Ivan Glasenberg
  • 29,865
  • 2
  • 44
  • 60

1 Answers1

21

You need to use the square brackets:

datatable(['a b']:string)["this works"]

See more: https://learn.microsoft.com/en-us/azure/kusto/query/schema-entities/entity-names

Avnera
  • 7,088
  • 9
  • 14