-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed as duplicate of#16066
Closed as duplicate of#16066
Copy link
Labels
area:sqlSQL interfacesSQL interfacestype:featureNew features and enhancementsNew features and enhancements
Description
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')) */
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:sqlSQL interfacesSQL interfacestype:featureNew features and enhancementsNew features and enhancements
Type
Projects
Status
✅ Done