You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dsMin/Document/大数据中心的下一步开发思路V1.02.txt

15 lines
1.7 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

1、开发第三方数据接入系统的登录角色和功能使用ak+sk可以登录到系统是一个独立的登录页面。
2、第三方系统管理员可以维护自己系统的数据上报信息包括表名信息描述表的所有字段名称数据类型数据长度小数点后的位数如果是float或double类型的话建议采用 int,float,varchar,char,datetime,date几个数据类型即可。
3、录入完成后有一个功能按钮叫“申请上线”
4、sys1可以登录后查看第三方系统的上线申请可以通过或拒绝。通过后在ES中创建Mapping,在Greenplum中创建数据表。
此处可以参考黄海已完成的代码示例。E:\Work\dsMin\dsSupport\Test\CreatePgTable\CreatePgTable.go
5、sys1有一个功能叫“业务表下线”将录入错误的数据表整体清除包括元数据es数据及greenplum数据表。
6、针对每个录入到系统的元数据和表格通过Golang开发一个死循环的数据上报到Greenplum的功能。将last_updated_time最新的数据上报到Greenplum中。这个Greenplum是为了QuickBi使用的。
这一块黄海完成了一点测试就是ES的深度分页E:\Work\dsMin\dsSupport\Test\Elasticsearch\ReadElasticsearch.go
7、为使用DataV需要独立开发一个Golang的程序读取本地的GreenPlum生成统计分析的JSON文件然后每5分钟上传到OSS中DataV设置数据源为OSS中的文件并设置刷新时间即可。这个其实是通过GO开发一个框架读取统计分析的SQL执行生成JSON文件可以通过配置不断的添加内容而不是不断的修改程序。