Computer and Modernization

Previous Articles     Next Articles

Design and Implementation of HBase Query Based on SQL

  

  1. (1. College of Computer and Control Engineering, Nankai University, Tianjin 300350, China; 2. Tasly Group, Tianjin 300402, China;
    3. Tianjin Port Information Technology Development Co. Ltd., Tianjin 300456, China)
  • Received:2016-09-21 Online:2017-07-20 Published:2017-07-20

Abstract: In the age of the Internet and big data, SQL relational database can not adapt to the growing amount of data, NoSQL database such as HBase becomes very important. But HBase database operation is more complex, this paper designs and implements a query method of HBase based on SQL, which can enable HBase users to operate the HBase database through the familiar SQL query statement. This paper first builds the compiler of SQL language, translates the SQL statement into the syntax tree, and then translates the syntax tree into the operation of HBase. The coprocessor is used to deal with the aggregate functions and complex expressions in the SQL query statement.

Key words: query, SQL, HBase

CLC Number: