nbalajee opened a new pull request #2030:
URL: https://github.com/apache/hudi/pull/2030


   …gered on any insert/upsert DAG node).
   
   ## *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
   Each insert/upsert dag node in the hudi test-suite can specify a schema to 
be used for the node.   DAG execution context
   is reinitialized with the new/evolved schema.  This allows verification of 
schema evolution scenarios.
   
   ## Brief change log
    - Modify the test suite to accept "reinitialize_context" flag and new 
schema file.
    - reinitialize the writer context, as part of DAG node execution.  
(Remaining nodes will use the updated schema).
   
   ## Verify this pull request
   
   Verified using the hudi-test-suite.
   
   This change added tests and can be verified as follows:
   
   - Launched hudi test suite with the following:
   ```
       insert_1:
         config:
           record_size: 7000
           num_partitions_insert: 1
           repeat_count: 5
           num_records_insert: 10
           reinitialize_context: true
           hoodie.deltastreamer.schemaprovider.source.schema.file: 
"file:///tmp/evolved.avsc"
   ```
   
   ## Committer checklist
   
    - [ x] Has a corresponding JIRA in PR title & commit
    
    - [x ] Commit message is descriptive of the change
    
    - [ x] 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