data_join
ActiveTool of stagenth · 数据工具箱
declared in 1.28.1
两份数据文件按共同列连接(如 订单表×客户表),返回实际数据行 JSON(1 credit/次)。 跨文件对齐是单文件 data_query 做不到的;DuckDB 引擎、锁死文件/网络访问。失败自动退款。
Parameters schema
{
"type": "object",
"title": "data_joinArguments",
"required": [
"on"
],
"properties": {
"on": {
"type": "array",
"items": {},
"title": "On",
"description": "连接列名(两份数据中都存在,最多 8 个)"
},
"how": {
"type": "string",
"title": "How",
"default": "inner",
"description": "连接方式 inner / left"
},
"fmt_a": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Fmt A",
"default": null,
"description": "A 格式 csv/tsv/json/ndjson/parquet;缺省自动识别"
},
"fmt_b": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Fmt B",
"default": null,
"description": "B 格式;缺省自动识别"
},
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Limit",
"default": null,
"description": "最多返回行数;硬上限 1000"
},
"columns": {
"anyOf": [
{
"type": "array",
"items": {}
},
{
"type": "null"
}
],
"title": "Columns",
"default": null,
"description": "只返回这些列;缺省返回全部"
},
"file_id_a": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "File Id A",
"default": null,
"description": "数据 A 的文件 ID(与 data_base64_a 二选一)"
},
"file_id_b": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "File Id B",
"default": null,
"description": "数据 B 的文件 ID(与 data_base64_b 二选一)"
},
"data_base64_a": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Data Base64 A",
"default": null,
"description": "数据 A 内容 base64"
},
"data_base64_b": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Data Base64 B",
"default": null,
"description": "数据 B 内容 base64"
}
}
}Parent server
stagenth · 数据工具箱
1/7 registries