【问题标题】:Unable to Copy JSON Lines file format in Azure Data Factory无法在 Azure 数据工厂中复制 JSON 行文件格式
【发布时间】:2022-01-14 19:55:17
【问题描述】:

我正在尝试在 Azure 数据工厂 v2 中运行一个简单的“复制活动”,以复制格式为 .jsonl 的 JSON 行文件。但是,当我尝试复制时,我不断收到以下错误:

Failure happened on 'Source' side. ErrorCode=JsonInvalidDataFormat,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Error occurred when deserializing source JSON file 'grantofrepresentation-2019-08.jsonl'. Check if the data is in valid JSON object format.,Source=Microsoft.DataTransfer.Common,''Type=Newtonsoft.Json.JsonReaderException,Message=Unexpected end of content while loading JObject. Path 'ce_data_classification.solsDeceasedAliasNamesList.value', line 2535, position 9228.,Source=Newtonsoft.Json,'

我确信 ADF 可以处理 .jsonl 文件,但我以前从未使用过 .jsonl 文件。

有人可以确认 ADFv2 可以复制 .jsonl 文件,并告诉我哪里可能出错了吗?

【问题讨论】:

    标签: azure-data-factory


    【解决方案1】:

    我测试过,数据工厂支持以 ".jsonl" 结尾的 JSON 格式文件,看我的例子:

    请确保您已将 JSON 格式设置为数据集:

    参考:JSON format in Azure Data Factory

    【讨论】:

      猜你喜欢
      • 2020-07-18
      • 2021-11-21
      • 2020-12-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-11-19
      • 2021-10-21
      相关资源
      最近更新 更多