goldzzz1 opened a new issue, #9093: URL: https://github.com/apache/seatunnel/issues/9093
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened "result": { "header": { "number": "10005751", "doc_date": "2025-02-28", "start_date": "2025-02-01", "stop_date": "2025-02-28", "contract_date": "2019-12-24", "contract_number": "ИР-23223/19", "payer_name": "Интернет Решения, ООО", "payer_inn": "7704217370", "payer_kpp": "997750001", "receiver_name": "МС Джинс, ООО", "receiver_inn": "7729722279", "receiver_kpp": "772301001", "doc_amount": 20651536.61, "vat_amount": 0, "currency_sys_name": "RUR" }, "rows": [ { "rowNumber": 1, "item": { "name": "Джинсы Feimailis", "offer_id": "AB926-52E-7-30", "barcode": "OZN201543969", "sku": 201543969 }, "seller_price_per_instance": 1028, "delivery_commission": { "price_per_instance": 782, "quantity": 1, "amount": 782, "compensation": 0, "commission": 0, "bonus": 244.04, "standard_fee": 128.5, "total": 899.5, "stars": 0, "bank_coinvestment": 1.96, "pick_up_point_coinvestment": 0 }, "return_commission": null, "commission_ratio": 0.125 } 这是目标HTTPJSON,我的配置如下,没有报错,但是读到0行,我需要两个字段barcode和quantity, json_field = { barcode = "$.result.rows[*].item.barcode" amount = "$.result.rows[*].delivery_commission.amount" } schema = { fields { barcode = string amount= string 这是我的seatunnel配置,导入说这两个字段数量不一致所以导入0行,barcode有8000个,amount有9000个大概这样的意思,如何让找不到的用null填充呢 ### SeaTunnel Version 2.3.1 ### SeaTunnel Config ```conf env { job.mode = "BATCH" } source{ Http { url = "https://api-seller.ozon.ru/v2/finance/realization" method = "POST" headers = {Client-Id="32653",Api-Key="e153c36f-3c78-4202-87cd-6c08ee283285"} body =" {\"month\": 2,\"year\": 2025}" json_field = { barcode = "$.result.rows[*].item.barcode" amount = "$.result.rows[*].delivery_commission.amount" } schema = { fields { barcode = string amount= string } } ``` ### Running Command ```shell 默认启动命令 ``` ### Error Exception ```log 说我两个数量不一致 ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version _No response_ ### Screenshots _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
