Forum Discussion

matthewstainsby's avatar
matthewstainsby
Frequent Visitor
2 years ago
Solved

VS Code Integration. Spark.SQL Query working whereas Relative Filepath is not

The first two lines are working fine on powerbi.com in the browser, and not in VS Code.    The second two lines are working fine in both.    How can I get the relative path to work in VS Co...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi matthewstainsby 
    We don't support mssparkutils or mount lakehouse in VS Code currently, so you cannot do these file system operations in our extension. You can do these concat operations on Fabric Portal, and then read these data in VSCode.

    Here is Lakehouse public api:
    Items - List Lakehouses - REST API (Lakehouse) | Microsoft Learn
    You can use this to list lakehouses files too.

    Hope this helps. Please let me know if you have any further questions.