通过 ParquetReader 将 Parquet、Avro、ORC 和 Feather 转换为 JSON
初级
这是一个Other, IT Ops领域的自动化工作流,包含 4 个节点。主要使用 Code, Webhook, HttpRequest 等节点。 使用ParquetReader转换Parquet、Feather、ORC和Avro文件
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •可能需要目标 API 的认证凭证
使用的节点 (4)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "VU0kmvnWzctSFm2M",
"meta": {
"instanceId": "534a4ec070e550167af0cc407c76e029ac0ae69bef901c2f9ef440d79bfa5792"
},
"name": "通过 ParquetReader 将 Parquet、Avro、ORC 和 Feather 转换为 JSON",
"tags": [
{
"id": "1PTaY70kFjD8F12p",
"name": "Convert",
"createdAt": "2025-03-30T09:38:16.466Z",
"updatedAt": "2025-03-30T09:38:16.466Z"
},
{
"id": "98v0QSKrvfH5dl34",
"name": "Avro",
"createdAt": "2025-03-30T09:38:06.656Z",
"updatedAt": "2025-03-30T09:38:06.656Z"
},
{
"id": "Q0sqo52DKATPDab2",
"name": "ORC",
"createdAt": "2025-03-30T09:38:09.923Z",
"updatedAt": "2025-03-30T09:38:09.923Z"
},
{
"id": "b1s8WFj3TfMpoOQu",
"name": "Feather",
"createdAt": "2025-03-30T09:38:12.227Z",
"updatedAt": "2025-03-30T09:38:12.227Z"
},
{
"id": "fFnESRcynarFqlLf",
"name": "Parquet",
"createdAt": "2025-03-30T09:38:04.286Z",
"updatedAt": "2025-03-30T09:38:04.286Z"
}
],
"nodes": [
{
"id": "651a10dc-1c91-4957-bcdd-3e55d7328f04",
"name": "发送到 Parquet API",
"type": "n8n-nodes-base.httpRequest",
"position": [
1100,
440
],
"parameters": {
"url": "https://api.parquetreader.com/parquet?source=n8n",
"options": {
"bodyContentType": "multipart-form-data"
},
"requestMethod": "POST",
"jsonParameters": true,
"sendBinaryData": true,
"binaryPropertyName": "=file0"
},
"typeVersion": 1
},
{
"id": "42a7e623-ca11-4d38-94bb-cfb48d021a5c",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"notes": "Example trigger flow:\n\ncurl -X POST http://localhost:5678/webhook-test/convert \\\n -F \"file=@converted.parquet\"",
"position": [
900,
440
],
"webhookId": "0b1223c9-c117-45f9-9931-909f2db28955",
"parameters": {
"path": "convert",
"options": {
"binaryPropertyName": "file"
},
"httpMethod": "POST",
"responseData": "allEntries",
"responseMode": "lastNode"
},
"notesInFlow": false,
"typeVersion": 2
},
{
"id": "9b87f027-7ef2-40a7-88d7-a0ae9ef73375",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"width": 840,
"height": 580,
"content": "### ✅ **如何使用此流程**"
},
"typeVersion": 1
},
{
"id": "06d3e569-8724-48f2-951f-a1af5e0f9362",
"name": "解析 API 响应",
"type": "n8n-nodes-base.code",
"position": [
1280,
440
],
"parameters": {
"jsCode": "const item = items[0];\n\n// Convert `data` (stringified JSON array) → actual array\nif (typeof item.json.data === 'string') {\n item.json.data = JSON.parse(item.json.data);\n}\n\n// Convert `meta_data` (stringified JSON object) → actual object\nif (typeof item.json.meta_data === 'string') {\n item.json.meta_data = JSON.parse(item.json.meta_data);\n}\n\nreturn [item];\n"
},
"typeVersion": 2
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "c10e1897-094e-42c6-bde9-1724972ada3e",
"connections": {
"42a7e623-ca11-4d38-94bb-cfb48d021a5c": {
"main": [
[
{
"node": "651a10dc-1c91-4957-bcdd-3e55d7328f04",
"type": "main",
"index": 0
}
]
]
},
"651a10dc-1c91-4957-bcdd-3e55d7328f04": {
"main": [
[
{
"node": "06d3e569-8724-48f2-951f-a1af5e0f9362",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
初级 - 其他, IT 运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Line 保存文件到 Google Drive 并记录文件的 URL
自动保存并整理 LINE 消息文件到 Google Drive,并在表格中记录文件 URL
If
Code
Merge
+
If
Code
Merge
27 节点Jaruphat J.
其他
标记接收邮件,构建知识图谱,通过Telegram通知
使用Gemini AI自动化Gmail标记并构建InfraNodus知识图谱,通过Telegram发送提醒
Code
Wait
Gmail
+
Code
Wait
Gmail
28 节点InfraNodus
其他
MiniBear Webhook
使用GPT的LINE消息处理:保存笔记、名片数据和任务
If
Switch
Webhook
+
If
Switch
Webhook
45 节点lin@davoy.tech
其他
为新Salesforce工单自动创建Geotab区域
为新Salesforce工单自动创建Geotab区域
If
Set
Code
+
If
Set
Code
22 节点Sobek
销售
使用 Unipile 和 Google Sheets 自动发送 LinkedIn
使用 Unipile 和 Google Sheets 自动发送 LinkedIn 联系人请求与破冰消息
If
Set
Code
+
If
Set
Code
44 节点PollupAI
其他
使用GPT-4.1、Outlook和Mem.ai自动化Microsoft
使用GPT-4.1、Outlook和Mem.ai自动化Microsoft Teams会议分析
If
Set
Code
+
If
Set
Code
61 节点Wayne Simpson
人力资源