1
0

[HUDI-2045] Support Read Hoodie As DataSource Table For Flink And DeltaStreamer

This commit is contained in:
pengzhiwei
2021-06-21 14:13:25 +08:00
parent 5804ad8e32
commit ffa934182a
14 changed files with 470 additions and 173 deletions

View File

@@ -253,6 +253,10 @@ public class ITTestHoodieDemo extends ITTestBase {
assertStdOutContains(stdOutErrPair,
"| partition |\n+----------------+\n| dt=2018-08-31 |\n+----------------+\n", 3);
// There should have 5 data source tables except stock_ticks_mor_bs_rt.
// After [HUDI-2071] has solved, we can inc the number 5 to 6.
assertStdOutContains(stdOutErrPair, "'spark.sql.sources.provider'='hudi'", 5);
stdOutErrPair = executeHiveCommandFile(HIVE_BATCH1_COMMANDS);
assertStdOutContains(stdOutErrPair, "| symbol | _c1 |\n+---------+----------------------+\n"
+ "| GOOG | 2018-08-31 10:29:00 |\n", 6);