xiarixiaoyao commented on PR #5364:
URL: https://github.com/apache/hudi/pull/5364#issuecomment-1103415549

   @alexeykudinkin  now we use hoodieparquetFile, 
   we may need to modfy this function to reduce the impact of schema evolution
   HoodieDataSourceHelper.getConfigurationWithInternalSchema 
   ```
     def getConfigurationWithInternalSchema(conf: Configuration, 
internalSchema: InternalSchema, tablePath: String, validCommits: String): 
Configuration = {
       val querySchemaString = SerDeHelper.toJson(internalSchema)
       if (!querySchemaString.isEmpty) {
         conf.set(SparkInternalSchemaConverter.HOODIE_QUERY_SCHEMA, 
querySchemaString)
         conf.set(SparkInternalSchemaConverter.HOODIE_TABLE_PATH, tablePath)
         conf.set(SparkInternalSchemaConverter.HOODIE_VALID_COMMITS_LIST, 
validCommits)
       }
       conf
     }
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to