A data modification method, device and storage medium based on Hive

By managing data in the Hive data warehouse based on collection time and warehousing timestamp, the problem that Hadoop files cannot be modified is solved, logical modification and accuracy of data are achieved, modification costs are reduced, and efficiency is improved.

CN111881173BActive Publication Date: 2024-09-24BOYT (GUANGZHOU) IND INTERNET CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010501946.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-04
Publication Date
2024-09-24
Estimated Expiration
2040-06-04

AI Technical Summary

Technical Problem

Files on Hadoop cannot be modified, resulting in data errors that cannot be corrected in time, high modification costs, and affect the accuracy of calculation results.

Method used

Without deleting the Hive data, query the Hive data warehouse by obtaining the collection time and entry timestamp of the data to be entered. If there is data with the same collection time, it will be divided into the same group, and the data will be called according to the entry time. The library timestamp is sorted to remove duplication, and the data with the latest storage time is selected as the calling data.

Benefits of technology

It reduces the cost of data modification, improves modification efficiency, avoids calculation deviations caused by data errors, and ensures data accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111881173B
    Figure CN111881173B
Patent Text Reader

Abstract

The present invention discloses a data modification method, device and storage medium based on Hive. The method first obtains the data to be entered, and then queries the Hive data warehouse whether there is already entered data with the same collection time as the data to be entered according to the collection time. If not, the data is entered. If there is already entered data, the data to be entered and the queried already entered data are divided into the same group, and when the group of data is called, according to the storage timestamp of each data, the data with the latest storage time is used as the call data of the group. The technical solution of the present invention is adopted to group and manage each data in Hive, and the storage timestamp is introduced to identify whether data update is generated. When the data is called, the latest data can be called, avoiding data errors and calculation errors after the data call, while reducing the modification cost and improving the modification efficiency.
Need to check novelty before this filing date? Find Prior Art