xubo245 opened a new pull request #3188: [CARBONDATA-3336] Support configurable 
decode for loading binary data, support base64 and Hex decode.
URL: https://github.com/apache/carbondata/pull/3188
 
 
   
   Support configurable decode for loading binary data, support base64 and Hex 
decode.
   1. support configurable decode for loading
   2. test datamap: mv, preaggregate, timeseries, bloomfilter, lucene
   3. test datamap and configurable decode
   
   Example:
   ```
         sql(
               s"""
                  | LOAD DATA LOCAL INPATH '$resourcesPath/binaryDataBase64.csv'
                  | INTO TABLE carbontable
                  | 
OPTIONS('header'='false','DELIMITER'=',','binary_decoder'='base64')
                """.stripMargin)
   ```
   
   csv has base64 encode data, it will decode base64 data in carbon when 
loading data into carbon and load options have 'binary_decoder'='base64'
   
   Be sure to do all of the following checklist to help us incorporate 
   your contribution quickly and easily:
   
    - [ ] Any interfaces changed?
    
    - [ ] Any backward compatibility impacted?
    
    - [ ] Document update required?
   
    - [ ] Testing done
           Please provide details on 
           - Whether new unit test cases have been added or why no new tests 
are required?
           - How it is tested? Please attach test report.
           - Is it a performance related change? Please attach the performance 
test report.
           - Any additional information to help reviewers in testing this 
change.
          
    - [ ] 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


With regards,
Apache Git Services

Reply via email to