KQL using make_string() function in datatable[] scope

Anonymous
2022-04-15T09:07:06.54+00:00

I am facing some issues with the make_string function. The following command

print str = make_string(75, 117, 115, 116, 111)  

returns "Kusto" as expected, but it is not possible to use this function in the datatable scope. The following kql:

datatable (Input: string) [  
    make_string(75, 117, 115, 116, 111)  
]  

returns error message:

   Syntax Error   
     
    A recognition error occurred.   
    Token: make_string   
     
    Line: 2, Position: 4  

Do you have any idea, why it does not work?

Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
486 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 78,576 Reputation points Microsoft Employee
    2022-04-18T08:48:12.423+00:00

    Hello anonymous user,

    Thanks for the question and using MS Q&A platform.

    As per the documentation - datatable operator , the datatable operator only accepts scalar values.

    193835-image.png

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful