Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在连接到 Azure 数据湖,我在那里有文件,但它位于不同的路径中,我不知道如何导入它。预先感谢您的帮助!
如果您正在寻找通过从 azure blob 或数据湖导入来运行 python 脚本,则可以在 Qubole Analyze 中的“查询路径”选择中传递文件路径。请查看下面的屏幕截图以获取示例。
如果这不是您要找的东西,请告诉我们确切的要求,我们很乐意为您提供帮助!
您可以尝试以下步骤-->
-> sc.addPyFile("cloudstoragepath") -> 然后运行filename_without_py_extension导入
filename_without_py_extension
根据我的理解,我希望这是您的要求。