无法配置 Azure 数据工厂以从 http 端点获取数据
Unable to configure Azure Data Factory to get data from http endpoint
我正在尝试使用 Azure 的数据工厂 http 连接器,但我无法通过第 2 步(连接源),因为当我按下 'next' 按钮时,出现错误 'File schema is not defined' .
从附图中可以看出,我从服务器收到 400 错误,但是,当我用邮递员执行相同的 get 时,我没有从服务器收到任何错误,我可以下载文件 (这是一个 xlsx 文件,也许这就是问题所在。
非常感谢任何帮助!非常感谢!!
你这里select格式是'Text format',不知道你的请求结果是不是csv
If you want to retrieve the data from an HTTP endpoint as-is without parsing it, skip the format setting.
If you want to parse the HTTP response content during copy, the following format types are supported: TextFormat, JsonFormat, AvroFormat, OrcFormat, and ParquetFormat. For more information, see Text format, JSON format, Avro format, Orc format, and Parquet format.
这是文档:https://docs.microsoft.com/en-us/azure/data-factory/v1/data-factory-http-connector
如果我很好地理解了你的问题,我假设你指的是 UI 复制 Activity 流程(你正在为此目的使用 http 连接器)。如果您无法检测或手动设置文档的架构,二进制副本是否适合您?
在第 2 步的第一页上,您会找到可能会解决您的问题的二进制复制复选框。
我正在尝试使用 Azure 的数据工厂 http 连接器,但我无法通过第 2 步(连接源),因为当我按下 'next' 按钮时,出现错误 'File schema is not defined' .
从附图中可以看出,我从服务器收到 400 错误,但是,当我用邮递员执行相同的 get 时,我没有从服务器收到任何错误,我可以下载文件 (这是一个 xlsx 文件,也许这就是问题所在。
非常感谢任何帮助!非常感谢!!
你这里select格式是'Text format',不知道你的请求结果是不是csv
If you want to retrieve the data from an HTTP endpoint as-is without parsing it, skip the format setting.
If you want to parse the HTTP response content during copy, the following format types are supported: TextFormat, JsonFormat, AvroFormat, OrcFormat, and ParquetFormat. For more information, see Text format, JSON format, Avro format, Orc format, and Parquet format.
这是文档:https://docs.microsoft.com/en-us/azure/data-factory/v1/data-factory-http-connector
如果我很好地理解了你的问题,我假设你指的是 UI 复制 Activity 流程(你正在为此目的使用 http 连接器)。如果您无法检测或手动设置文档的架构,二进制副本是否适合您? 在第 2 步的第一页上,您会找到可能会解决您的问题的二进制复制复选框。