prashantwason opened a new pull request #1804:
URL: https://github.com/apache/hudi/pull/1804


   1. Includes HFileWriter and HFileReader
   2. Includes HFileInputFormat for both snapshot and realtime input format for 
Hive
   3. Unit test for new code
   4. IT for using HFile format and querying using Hive (Presto and SparkSQL 
are not supported)
   
   Advantage:
   HFile file format saves data as binary key-value pairs. This implementation 
chooses the following values:
   1. Key = Hoodie Record Key (as bytes)
   2. Value = Avro encoded GenericRecord (as bytes)
   
   HFile allows efficient lookup of a record by key or range of keys. Hence, 
this base file format is well suited to applications like RFC-15, RFC-08 which 
will benefit from the ability to lookup records by key or search in a range of 
keys without having to read the entire data/log format.
   
   Limitations:
   HFile storage format has certain limitations when used as a general purpose 
data storage format.
   1. Does not have a implemented reader for Presto and SparkSQL
   2. Is not a columnar file format and hence may lead to lower compression 
levels and greater IO on query side due to lack of column pruning
   
   ## *Tips*
   - *Thank you very much for contributing to Apache Hudi.*
   - *Please review https://hudi.apache.org/contributing.html before opening a 
pull request.*
   
   ## What is the purpose of the pull request
   
   *(For example: This pull request adds quick-start document.)*
   
   ## Brief change log
   
   *(for example:)*
     - *Modify AnnotationLocation checkstyle rule in checkstyle.xml*
   
   ## Verify this pull request
   
   *(Please pick either of the following options)*
   
   This pull request is a trivial rework / code cleanup without any test 
coverage.
   
   *(or)*
   
   This pull request is already covered by existing tests, such as *(please 
describe tests)*.
   
   (or)
   
   This change added tests and can be verified as follows:
   
   *(example:)*
   
     - *Added integration tests for end-to-end.*
     - *Added HoodieClientWriteTest to verify the change.*
     - *Manually verified the change by running a job locally.*
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to