Forum Discussion

gsingh_'s avatar
gsingh_
Copper Contributor
May 22, 2024

Query an external CSV file

Hi, I am trying to query an external CSV file via KQL using externaldata() operator.

As a POC, I created a test storage account with a simple container and then uploaded a CSV file to it. I am using a SAS token & URL to fetch the data.

 

When I run the query it gives an error:

"Some aspects of the query had errors so the results are not complete
If the issue persists, please open a support ticket. Request id: *****"

 

Any pointers on what could be the possible issue here?

thanks

2 Replies

    • gsingh_'s avatar
      gsingh_
      Copper Contributor

      Hi Clive_Watson , I am trying with the below command:

       

      externaldata (columnA:string, columnB:string)
      [@"https://BLOB SAS URL?BLOB SAS Token]
      with(format="csv")

       

      thanks

Resources