zyclove opened a new issue, #9075:
URL: https://github.com/apache/hudi/issues/9075

   **_Tips before filing an issue_**
   
   Spark SQL Hint 
   
   /*+ hoodie_prop('${tableName}', map('${key1}', '${value1}', '${key2}', 
''${value2}'')) */
   
   ```
   
   select
     /*+
       hoodie_prop(
         'default.h1',
         map('hoodie.datasource.read.begin.instanttime', '20221127083503537', 
'hoodie.datasource.read.end.instanttime', '20221127083506081')
       ),
       hoodie_prop(
         'default.h2',
         map('hoodie.datasource.read.begin.instanttime', '20221127083508715', 
'hoodie.datasource.read.end.instanttime', '20221127083511803')
       )
     */
     id, name, price, ts
   from (
     select id, name, price, ts
     from default.h1
     union all
     select id, name, price, ts
     from default.h2
   )
   
   select /*+ hoodie_prop('default.h1', map('as.of.instant', 
'20221127102741536')) */)
   
   
   # query mor  ro 
   select /*+ hoodie_prop('default.h1', map('hoodie.datasource.query.type', 
'read_optimized')) */ 
   
   # query mor  rt 
   select /*+ hoodie_prop('default.h1', map('hoodie.datasource.query.type', 
'snapshot')) */
   ``` 
   ref: https://www.modb.pro/db/570222
   
   
   


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