Check lookup step match rate
get_custom_pipeline_lookup_match_ratePost Lookup Match Rate
When to use: 룩업 스텝을 저장하기 전이나 고친 뒤, 그 설정이 실제로 몇 행에 붙는지 확인할 때 — 키 값 표기가 달라 0건이 붙는 실수를 잡는다.
Limitations: priority 는 이 룩업 스텝의 순서다 — 그보다 앞선 스텝까지 적용한 결과에 붙여 본다. 기준표가 구글 시트면 {source_type=GOOGLE_SHEETS, source_spreadsheet_id, source_sheet_name, join_keys, properties}(spreadsheet_id·sheet_name 은 list_custom_pipeline_available_sources 에서 얻는다), 테이블이면 {source_type=DATA_LAKE, source_table, source_database?, join_keys, properties}(list_custom_pipeline_available_sources 의 DATA_LAKE 항목이면 table_name·schema_name 을 source_table·source_database 로 넘긴다 — source_database 를 생략하면 내 구글 시트 연동 테이블에서 찾는다), 다른 커스텀 에셋이면 {source_type=CUSTOM_ASSET, source_table, join_keys, properties}(list_custom_pipeline_available_sources 의 CUSTOM_ASSET 항목이면 table_name 을 source_table 로 넘기고 source_database 는 보내지 않는다 — 에셋 테이블은 내 시트 연동 테이블과 다른 곳에 있어 DATA_LAKE 로 보내면 찾지 못하거나 같은 이름의 시트 테이블을 읽는다)이다. join_keys 의 source_column 은 파이프라인 쪽 컬럼, target_column 은 기준표 컬럼이다. properties 의 source_column 은 기준표에서 가져올 컬럼, name 은 결과 컬럼 표시명, physical_column_id 는 결과 테이블의 실제 컬럼명(영문·숫자·밑줄)이다.
Examples:
Q: 수수료 시트 룩업이 주문 몇 건에 붙는지 확인해줘 params: {'path': {'pipeline_id': 34}, 'body': {'priority': 1, 'source_type': 'GOOGLE_SHEETS', 'source_spreadsheet_id': '1AbCdEfGh', 'source_sheet_name': '수수료', 'join_keys': [{'source_column': 'brand_name', 'target_column': '브랜드'}], 'properties': [{'name': '수수료율', 'source_column': '수수료율', 'physical_column_id': 'fee_rate', 'data_type': 'DOUBLE'}]}}
Output shape: object: {total_count, matched_count, unmatched_count, joined_count, completeness, generated_sql, ...}
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pipeline_id": "<pipeline_id>",
"priority": "<priority>"
},
"name": "get_custom_pipeline_lookup_match_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| priority | Yes | ||
| join_keys | No | ||
| project-id | No | ||
| properties | No | ||
| pipeline_id | Yes | ||
| source_type | No | ||
| source_table | No | ||
| source_catalog | No | ||
| source_database | No | ||
| source_sheet_name | No | ||
| source_spreadsheet_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||