{
  "data": {
    "content": "# SplitArtistAliasQueryModel - 艺术家别名复现\n\n## 模型信息\n- 表名: InvoiceLine\n- 主键: InvoiceLineId\n\n## 维度字段\n| 字段名 | 名称 | 类型 | 层级 | 说明 |\n|--------|------|------|------|------|\n| artist$id | 艺术家(ID) | 数值/文本 | - |  |\n| artist$caption | 艺术家(名称) | TEXT | - | 艺术家显示名称 |\n\n## 时间维度与字段 (Time Dimensions & Fields)\n> **提示**: 在进行时间趋势分析、同环比或窗口函数(Window Functions)时，请优先使用 `business_date` 角色的字段。\n\n| 字段名 | 名称 | 类别 | 时间角色 | 推荐用途 | 说明 |\n|--------|------|------|----------|----------|------|\n| invoice$invoiceDate | 账单日期 | 属性 | business_date | - |  |\n\n## 属性字段\n| 字段名 | 名称 | 类型 | 说明 |\n|--------|------|------|------|\n| invoiceLineId | 明细 ID | 文本 |  |\n\n## 度量字段\n| 字段名 | 名称 | 类型 | 聚合 | 说明 |\n|--------|------|------|------|------|\n| lineAmount | 明细金额 | 金额 | SUM |  |\n\n## QM 自定义字段\n使用查询字段名构造 DSL；输出键用于读取结果，已选列可按输出键排序。\n\n| 字段名 | 输出键 | 名称 | 类型 |\n|--------|--------|------|------|\n| albumArtistId | albumArtistId | 艺术家 | 维度ID \\| 数值/文本 |\n| albumArtistName | artistLabel | 艺术家 | 维度名称 \\| 文本 \\| 艺术家主键 |\n\n## 使用提示\n- 维度用 `xxx$id`(查询/过滤), `xxx$caption`(展示), `xxx$property`(维度属性)\n- 度量支持内联聚合: `sum(salesAmount) as total`\n- 系统自动处理 groupBy，通常无需手动指定\n- 层级维度支持 `selfAndDescendantsOf`(值及其所有下级) 和 `selfAndAncestorsOf`(值及其所有上级) 操作符\n",
    "data": {
      "modelSource": {
        "bundleName": "chinook-0129-minimal",
        "known": true,
        "namespace": "chinook",
        "resourceIdentity": "练习目录\\lab\\releases\\launcher-0.1.29\\minimal-alias-models\\query\\SplitArtistAliasQueryModel.qm"
      }
    },
    "format": "markdown"
  },
  "diagnostics": {
    "attributes": {},
    "warnings": []
  },
  "engine": "java",
  "runtimeApiVersion": "foggy-runtime-api/v1",
  "success": true
}
