CREATE EXTERNAL TABLE AS SELECT 语句失败

CREATE EXTERNAL TABLE AS SELECT statement failed

创建外部 table 时,出现以下错误:

Msg 105005, Level 16, State 1, Line 1 CREATE EXTERNAL TABLE AS SELECT statement failed as the path name 'wasbs://.blob.core.windows.net/folder/Reject_Directory/_rejectedrows/' could not be used for export. Please ensure that the specified path is a directory which exists or can be created, and that files can be created in that directory.

我正在尝试使用 polybase 创建外部 table,删除 REJECTED_ROW_LOCATION 选项工作正常,但包含它会导致此错误。我该如何解决这个问题?

其他东西已经创建了 Reject_Directory/_rejectedrows 文件夹,由于某种原因这导致了权限错误。

从 blob 存储中删除 Reject_Directory/_rejectedrows 文件夹,以便 Polybase 可以自己创建它,现在可以创建 table。