zzcclp opened a new pull request, #5221:
URL: https://github.com/apache/incubator-gluten/pull/5221

   ## What changes were proposed in this pull request?
   The CH backend receives the table metadata by the substrait plan when 
executing create table and query, but now there is no version info to represent 
the table metadata, when it meets the below case, it will execute failed:
   ```
   1. create a table_1 with the path1, insert data
   2. query from the table_1
   3. drop the table_1 and re-create a table named table_1, but the table path 
is path2;
   4. insert data, will be found that the inserted data will be located in the 
path1 but not in the path2;
   ```
   So add a timestamp field to represent the version of the table metadata, 
this timestamp will be get from the Delta snapshot. The CH backend will update 
the table metadata according to this timestamp.
   
   Close #5219.
   
   (Fixes: #5219)
   
   ## How was this patch tested?
   
   (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
   
   
   (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
   
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to