分享方式:


在 Visual Studio Code 中探索 Microsoft Fabric Lakehouses

您可以使用 Synapse VS Code 延伸模組來探索工作區中 Lakehouse 的結構。

安裝延伸模組后,Visual Studio (VS) Code 會在包含 [檔案和數據表] 區段的樹視圖中顯示 Lakehouse 結構。 您選取的工作區中的所有 Lakehouse 會顯示在 Lakehouse 根樹節點底下。

Screenshot showing the lakehouse list, with Tables and Files nodes under each lakehouse.

探索 Lakehouse 和預覽數據表數據

展開 [ 數據表] 節點,從 Lakehouse 尋找數據表實體。 若要檢閱特定數據表的前 100 個資料列,請選取 資料表右邊的 [預覽數據表 ] 選項。

Screenshot showing where to find the Preview Table option.

展開 [ 檔案] 節點,以尋找儲存在 Lakehouse 中的資料夾和檔案。 選取 檔名右邊的 [下載 ] 選項,以下載該檔案。

Screenshot showing where to find the Download File option.

複製 Lakehouse 路徑

若要更輕鬆地在程式碼中參考資料表、資料夾或檔案,您可以複製相關的路徑。 以滑鼠右鍵按下目標節點,並尋找 [ 複製ABFS路徑]、 [複製相對路徑] 或 [ 複製URL] 的選項

Screenshot of the right-click menu, showing where to select from the copy options.