xuzifu666 opened a new pull request, #10685:
URL: https://github.com/apache/hudi/pull/10685
### Change Logs
<html>
<body>
<!--StartFragment--><p style="margin: 0px; padding: 0px; color: rgb(23, 43,
77); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans",
"Helvetica Neue", sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; white-space: normal; background-color: rgb(255, 255, 255);
text-decoration-thickness: initial; text-decoration-style: initial;
text-decoration-color: initial;">OLAP query need support read data from origin
table by default,for example,query from olap engine such as starrocks presto,we
can only read data in ro/rt sub table and get empty data from origin table,this
is not fitable:</p><p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23,
43, 77
); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans",
"Helvetica Neue", sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; white-space: normal; background-color: rgb(255, 255, 255);
text-decoration-thickness: initial; text-decoration-style: initial;
text-decoration-color: initial;">query mor table with starrocks as:</p><p
style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43, 77); font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, "Fira Sans", "Droid Sans", "Helvetica
Neue", sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: norma
l; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255,
255, 255); text-decoration-thickness: initial; text-decoration-style: initial;
text-decoration-color: initial;">MySQL<span> </span><span
class="error">[(none)]</span>> select * from
hudi_catalog_01.hudi_test.test_mor_hudi_22_rt;<br><ins>-------------------<del>{</del>}<del></del></ins>-------------------<del>{</del>}+<ins>{<del>}</del>----------------<del>{</del>}{<del>}</del>--------------------<del>{</del>}</ins>{<del>}</del>----------------------------------------------------------</p><div
class="table-wrap" style="margin: 0px; padding: 0px; color: rgb(23, 43, 77);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica
Neue", sans-serif; font-size:
14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps:
normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255,
255, 255); text-decoration-thickness: initial; text-decoration-style: initial;
text-decoration-color: initial;">
_hoodie_commit_time | _hoodie_commit_seqno | _hoodie_record_key |
_hoodie_partition_path |
_hoodie_file_name-------------------{}-------------------{}+{}----------------{}{}--------------------{}{}----------------------------------------------------------
-- | -- | -- | -- | --
20230522100703567 | 20230522100703567_0_0 | 1 | partition=de |
f14492ed-b672-4f60-8e86-6359790feb2a-0_0-17-2013_2023052210-------------------{}-------------------{}+{}----------------{}{}--------------------{}{}----------------------------------------------------------1
row in set (2.11 sec)
</div><p style="margin: 10px 0px 0px; padding: 0px; color: rgb(23, 43, 77);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica
Neue", sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; white-space: normal; background-color: rgb(255, 255, 255);
text-decoration-thickness: initial; text-decoration-style: initial;
text-decoration-color: initial;">MySQL<span> </span><span
class="error">[(none)]</span>> select * from
hudi_catalog_01.hudi_test.test_mor_hudi_22;<br>Empty set (1.23
sec)</p><!--EndFragment-->
</body>
</html>
### Impact
low
### Risk level (write none, low medium or high below)
low
### Documentation Update
_Describe any necessary documentation update if there is any new feature,
config, or user-facing change_
- _The config description must be updated if new configs are added or the
default value of the configs are changed_
- _Any new feature or user-facing change requires updating the Hudi website.
Please create a Jira ticket, attach the
ticket number here and follow the
[instruction](https://hudi.apache.org/contribute/developer-setup#website) to
make
changes to the website._
### Contributor's checklist
- [ ] Read through [contributor's
guide](https://hudi.apache.org/contribute/how-to-contribute)
- [ ] Change Logs and Impact were stated clearly
- [ ] Adequate tests were added if applicable
- [ ] CI passed
--
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]