Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How do we run a control command in ADF Lookup for KQL

I am planning to delete a ADX table content from Lookup in ADF using Kql before inserting into it.

So, In Lookup Query I tried running just table name to display the table content from ADX using TableName it works but to run a control command like insert or clear its showing error. The error says the query starts with a dot (.), eg. .clear table log-table data

Query: .
Request is invalid and cannot be processed: {
    "error": {
        "code": "Bad request",
        "message": "Control commands (starting with a dot '.') cannot be served from the query endpoint unless they are .show control commands.",

So, how do I solve it.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

How do we run a control command in ADF Lookup for KQL.

In lookup you can run only query, you cannot exceute adx command. In order to execute that in adf, use Azure data explorer command activity in ADF to execute the adx command.

enter image description here

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading