# elide-aggregate-model-test **Repository Path**: woodynd/elide-aggregate-model-test ## Basic Information - **Project Name**: elide-aggregate-model-test - **Description**: 测试elide聚合分析模型 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2022-11-09 - **Last Updated**: 2022-11-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # elide-aggregate-model-test #### 介绍 测试elide聚合分析模型 #### 软件架构 软件架构说明 elide+springboot #### 安装教程 1. 排除spring security 配置 ``` @SpringBootApplication(exclude = SecurityAutoConfiguration.class) ``` 2. 聚合模型配置文件路径配置 ``` dynamic-config: path: src/main/resources/analytics enabled: true ``` 在resources目录下创建analytics/models/tables/test.hjson文件 3. 启动应用 访问 http://localhost:9090/index.html #### 问题总结 1. 聚合模型jion的双方必须来自同一个数据源,如下配置就会报错: DBConnection name mismatch between table: teacherAnalysis and tables in its Join Clause ``` { tables:[ { name:teacherAnalysis table:teacher joins:[ { name:subject to:subject type:left definition:'{{subject.$id}} = {{$subject}}' } ] dimensions:[ { name:name type:TEXT definition:'{{$name}}' } { name:subjectName type:TEXT definition:'{{subject.name}}' } ] } ] } ``` 2. xxxx 3. xxxx #### 学习方向 [] org.junit.jupiter [] com.jayway.restassured [] org.springframework.boot.test #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request