lamber-ken opened a new pull request #1054: [HUDI-372] Support the shortName 
for Hudi DataSouce
URL: https://github.com/apache/incubator-hudi/pull/1054
 
 
   ## What is the purpose of the pull request
   
   Support the shortName for Hudi DataSouce, we can use shortName like
   ```
   val updates = convertToStringList(dataGen.generateUpdates(10))
   val df = spark.read.json(spark.sparkContext.parallelize(updates, 2))
   df.write.format("hudi").
       options(getQuickstartWriteConfigs).
       option(PRECOMBINE_FIELD_OPT_KEY, "ts").
       option(RECORDKEY_FIELD_OPT_KEY, "uuid").
       option(PARTITIONPATH_FIELD_OPT_KEY, "partitionpath").
       option(TABLE_NAME, tableName).
       mode(Append).
       save(basePath);
   ```
   
   ## Brief change log
   
     - Add org.apache.spark.sql.sources.DataSourceRegister to META-INF/services
     - Add test
   
   ## Verify this pull request
   
   This pull request is already covered by existing tests, such as 
`TestDataSource#testShotNameStorage`.
   
   ## 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


With regards,
Apache Git Services

Reply via email to