Data ranking method and device, server and storage medium
A data sorting and data technology, applied in the field of data processing, can solve the problem of not configuring multiple window partition sorting and so on
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 It is a flow chart of a data sorting method provided in Embodiment 1 of the present invention. The method in this embodiment can be executed by a data sorting device, which can be implemented by hardware and / or software, and can generally be integrated in a server or In a server cluster, for example, a server or a server cluster corresponding to the Hadoop distributed file system. The method of this embodiment specifically includes:
[0029] 101. Search for data to be sorted according to the data attributes in the data sorting instruction, where the data to be sorted includes data attributes and values.
[0030] Those skilled in the art can understand that, when using the SQL (Structured Query Language, Structured Query Language) window function to sort the data in the Hive data warehouse in the Hadoop distributed file system, multiple window partitions will not be configured to jointly When data is sorted, only one window partition is started to sort all the...
Embodiment 2
[0053] figure 2 It is a flowchart of a data sorting method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above embodiments. In this embodiment, a method of intercepting the initial normalized value by setting the effective number of digits to obtain the normalized value is given. According to the first preset number or the second preset number The specific implementation method of dividing the data to be sorted by setting the number.
[0054] Correspondingly, the method in this embodiment specifically includes:
[0055] 201. Search for data to be sorted according to the data attributes in the data sorting instruction, where the data to be sorted includes data attributes and values.
[0056] 202. Standardize the values of the data to be sorted to obtain corresponding initial normalized values, intercept each initial normalized value according to the set effective digits to obtain each standardized value, and sort the st...
Embodiment 3
[0073] image 3 It is a flow chart of a data sorting method provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above embodiments. In this embodiment, a method of dividing the data to be sorted into data partitions to be sorted according to the first preset number and using the partition number as the position information of all data is provided. detailed description.
[0074] Correspondingly, the method in this embodiment specifically includes:
[0075] 301. Search for data to be sorted according to the data attributes in the data sorting instruction, where the data to be sorted includes data attributes and values.
[0076] 302. Standardize the values of the data to be sorted to obtain corresponding initial normalized values, intercept each initial normalized value according to the set effective digits to obtain standardized values, and sort the standardized values according to the data sorting instruction.
[0077] 303. ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com