Method and system for automatically creating and writing mq data by olap
A technology for automatic creation and data, applied in the field of data processing, can solve problems such as low flexibility and scalability, strong limitations, etc., to achieve the effect of reducing system redundancy, improving efficiency, and reducing the risk of manual errors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment
[0051] Specific embodiments provided according to the present invention are as follows:
[0052] SELECT
[0053] toFloat64OrZero(planPutNum)AS planPutNum,
[0054] toFloat64OrZero(actualPutNum)AS actualPutNum,
[0055] (actualPutNum / planPutNum)AS prodPlanAchieveRate,
[0056] FROM OLAP_M
[0057] WHERE customerId = 'XXX';
[0058] In the example, the toFloat64OrZero function is used to change the original data type of the planPutNum field in the OLAP_M table to a Float64 type, the value of the prodPlanAchieveRate field is calculated by the actualPutNum and planPutNum field values, and the WHERE is used to filter the composite customerId='XXX' data.
[0059] Step A5: Automatically create an OLAP_Distributed table according to the OLAP_MQ table information in Step A3. Specifically, according to the information of the OLAP_Entity table, the OLAP cluster information creates a distributed mapping table of OLAP_Entity by splicing the table sql.
[0060] The data ETL step includ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
