You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "cshuo (via GitHub)" <gi...@apache.org> on 2025/03/25 02:35:32 UTC
[PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
cshuo opened a new pull request, #13027:
URL: https://github.com/apache/hudi/pull/13027
### Change Logs
Currently for continuous streaming query, flink tests sleep some time and kill the streaming job, then fetch the data results, which is not stable enough and leads to flaky tests. We can add `expected-row-num` option to `CollectSinkTableFactory` and stop the streaming query actively.
### Impact
no
### 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. If not, put "none"._
- _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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on code in PR #13027:
URL: https://github.com/apache/hudi/pull/13027#discussion_r2015150239
##########
hudi-io/src/main/java/org/apache/hudi/storage/HoodieStorage.java:
##########
@@ -389,7 +389,10 @@ public final void createImmutableFileInPath(StoragePath path,
*/
@PublicAPIMethod(maturity = ApiMaturityLevel.EVOLVING)
public final boolean needCreateTempFile() {
- return StorageSchemes.HDFS.getScheme().equals(getScheme());
+ return StorageSchemes.HDFS.getScheme().equals(getScheme())
+ // Local file will be visible immediately after LocalFileSystem#create(..), even before the output
+ // stream is closed, so temporary file is also needed for atomic file creating with content written.
+ || StorageSchemes.FILE.getScheme().equals(getScheme());
Review Comment:
Nice catch!
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on code in PR #13027:
URL: https://github.com/apache/hudi/pull/13027#discussion_r2013101456
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestHoodieDataSource.java:
##########
@@ -2189,7 +2182,7 @@ void testReadMetaFields(HoodieTableType tableType, String queryType, int numInse
.end();
batchTableEnv.executeSql(readHoodieTableDDL);
- List<Row> result = execSelectSql(batchTableEnv, "select * from t1", ExecMode.BATCH);
+ List<Row> result = execSelectSql(batchTableEnv, "select * from t1", ExecMode.BATCH, -1);
Review Comment:
Can we add a seperate method for it and also a new collect sink specific for function of expected num rows.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2754414719
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
}, {
"hash" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431",
"triggerID" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b7c3a47a9a2f3c142115eec166540cc339154c28 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388)
* 3be8ae0d190925dbcdab23aca5335e5358de2bfc Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2750014404
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* df5bf3cc612216fe787e699f9180afc327bea49a Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2754582616
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
}, {
"hash" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431",
"triggerID" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"triggerType" : "PUSH"
}, {
"hash" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"triggerType" : "PUSH"
}, {
"hash" : "f422934fdc67925c9a208ba6a6235cd62ca14db9",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "f422934fdc67925c9a208ba6a6235cd62ca14db9",
"triggerType" : "PUSH"
}, {
"hash" : "1fbd532a004b59587b5b7b708c2bcdd6dd48a048",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "1fbd532a004b59587b5b7b708c2bcdd6dd48a048",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 3be8ae0d190925dbcdab23aca5335e5358de2bfc Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431)
* 19f4541c7444e11ea10ea0add62c5008004aa662 UNKNOWN
* f422934fdc67925c9a208ba6a6235cd62ca14db9 UNKNOWN
* 1fbd532a004b59587b5b7b708c2bcdd6dd48a048 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2756671391
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 4b57fa39b3cb33a0a403a05af7a609fced993c82 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on code in PR #13027:
URL: https://github.com/apache/hudi/pull/13027#discussion_r2011317675
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestHoodieDataSource.java:
##########
@@ -1129,9 +1113,9 @@ void testWriteLocalIndex() {
assertRowsEquals(result, expected, 3);
}
- @Test
- void testStreamReadEmptyTablePath() throws Exception {
- // case1: table metadata path does not exists
+ @ParameterizedTest
+ @ValueSource(booleans = {true, false})
+ void testStreamReadEmptyTablePath(boolean initTable) throws Exception {
Review Comment:
what the purpose for this test change?
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2750197968
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2754419173
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
}, {
"hash" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431",
"triggerID" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"triggerType" : "PUSH"
}, {
"hash" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b7c3a47a9a2f3c142115eec166540cc339154c28 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388)
* 3be8ae0d190925dbcdab23aca5335e5358de2bfc Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431)
* 19f4541c7444e11ea10ea0add62c5008004aa662 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "cshuo (via GitHub)" <gi...@apache.org>.
cshuo commented on code in PR #13027:
URL: https://github.com/apache/hudi/pull/13027#discussion_r2011449334
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestHoodieDataSource.java:
##########
@@ -147,20 +157,17 @@ void testStreamWriteAndReadFromSpecifiedCommit(HoodieTableType tableType) throws
.option(FlinkOptions.READ_START_COMMIT, firstCommit)
.end();
streamTableEnv.executeSql(hoodieTableDDL);
- List<Row> rows = execSelectSql(streamTableEnv, "select * from t1", 10);
- assertRowsEquals(rows, TestData.DATA_SET_SOURCE_INSERT);
+ execSelectSqlAndCheckResult(streamTableEnv, "select * from t1", TestData.DATA_SET_SOURCE_INSERT);
Review Comment:
Do you mean keep the function name unchanged, and just do checking logic inside `execSelectSql`?
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on code in PR #13027:
URL: https://github.com/apache/hudi/pull/13027#discussion_r2011316172
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestHoodieDataSource.java:
##########
@@ -541,24 +540,26 @@ void testReadWithPartitionStatsPruning(HoodieTableType tableType, boolean hiveSt
"select * from t1 where uuid > 'id5' and age > 15",
// filter by partition stats pruner and dynamic partition pruner
"select * from t1 where uuid > 'id5' and age > 15 and `partition` > 'par3'");
- List<String> expectResults =
+ List<List<Row>> expectResults =
Arrays.asList(
- "[+I[id1, Danny, 23, 1970-01-01T00:00:00.001, par1], "
- + "+I[id2, Stephen, 33, 1970-01-01T00:00:00.002, par1], "
- + "+I[id3, Julian, 53, 1970-01-01T00:00:00.003, par2], "
- + "+I[id4, Fabian, 31, 1970-01-01T00:00:00.004, par2], "
- + "+I[id5, Sophia, 18, 1970-01-01T00:00:00.005, par3], "
- + "+I[id6, Emma, 20, 1970-01-01T00:00:00.006, par3], "
- + "+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]",
- "[+I[id6, Emma, 20, 1970-01-01T00:00:00.006, par3], "
- + "+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]",
- "[+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]");
+ Arrays.asList(
+ row("id1", "Danny", 23, TimestampData.fromEpochMillis(1).toLocalDateTime(), "par1"),
+ row("id2", "Stephen", 33, TimestampData.fromEpochMillis(2).toLocalDateTime(), "par1"),
+ row("id3", "Julian", 53, TimestampData.fromEpochMillis(3).toLocalDateTime(), "par2"),
+ row("id4", "Fabian", 31, TimestampData.fromEpochMillis(4).toLocalDateTime(), "par2"),
+ row("id5", "Sophia", 18, TimestampData.fromEpochMillis(5).toLocalDateTime(), "par3"),
Review Comment:
For readibility, can we still use strings instead?
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2750812633
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376)
* b7c3a47a9a2f3c142115eec166540cc339154c28 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2756947439
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459",
"triggerID" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"triggerType" : "PUSH"
}, {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4474",
"triggerID" : "2756852511",
"triggerType" : "MANUAL"
}, {
"hash" : "a9ee96556dd2930c25c554c474177450e16ad63b",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4476",
"triggerID" : "a9ee96556dd2930c25c554c474177450e16ad63b",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 4b57fa39b3cb33a0a403a05af7a609fced993c82 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459) Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4474)
* a9ee96556dd2930c25c554c474177450e16ad63b Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4476)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2756673322
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459",
"triggerID" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 4b57fa39b3cb33a0a403a05af7a609fced993c82 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "cshuo (via GitHub)" <gi...@apache.org>.
cshuo commented on code in PR #13027:
URL: https://github.com/apache/hudi/pull/13027#discussion_r2011402771
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/ITTestDataStreamWrite.java:
##########
@@ -167,6 +161,8 @@ public void testWriteMergeOnReadWithCompaction(String indexType) throws Exceptio
conf.setString(FlinkOptions.INDEX_TYPE, indexType);
conf.setInteger(FlinkOptions.BUCKET_INDEX_NUM_BUCKETS, 4);
conf.setInteger(FlinkOptions.COMPACTION_DELTA_COMMITS, 1);
+ // use synchronized compaction to ensure flink job finishing with compaction completed.
+ conf.set(FlinkOptions.COMPACTION_ASYNC_ENABLED, false);
Review Comment:
Writing pipeline in this test is customized, not same with that in `HoodieTableSink`. Compact operator is added if the table type is MOR, see Line 285.
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestHoodieDataSource.java:
##########
@@ -541,24 +540,26 @@ void testReadWithPartitionStatsPruning(HoodieTableType tableType, boolean hiveSt
"select * from t1 where uuid > 'id5' and age > 15",
// filter by partition stats pruner and dynamic partition pruner
"select * from t1 where uuid > 'id5' and age > 15 and `partition` > 'par3'");
- List<String> expectResults =
+ List<List<Row>> expectResults =
Arrays.asList(
- "[+I[id1, Danny, 23, 1970-01-01T00:00:00.001, par1], "
- + "+I[id2, Stephen, 33, 1970-01-01T00:00:00.002, par1], "
- + "+I[id3, Julian, 53, 1970-01-01T00:00:00.003, par2], "
- + "+I[id4, Fabian, 31, 1970-01-01T00:00:00.004, par2], "
- + "+I[id5, Sophia, 18, 1970-01-01T00:00:00.005, par3], "
- + "+I[id6, Emma, 20, 1970-01-01T00:00:00.006, par3], "
- + "+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]",
- "[+I[id6, Emma, 20, 1970-01-01T00:00:00.006, par3], "
- + "+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]",
- "[+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]");
+ Arrays.asList(
+ row("id1", "Danny", 23, TimestampData.fromEpochMillis(1).toLocalDateTime(), "par1"),
+ row("id2", "Stephen", 33, TimestampData.fromEpochMillis(2).toLocalDateTime(), "par1"),
+ row("id3", "Julian", 53, TimestampData.fromEpochMillis(3).toLocalDateTime(), "par2"),
+ row("id4", "Fabian", 31, TimestampData.fromEpochMillis(4).toLocalDateTime(), "par2"),
+ row("id5", "Sophia", 18, TimestampData.fromEpochMillis(5).toLocalDateTime(), "par3"),
Review Comment:
The changes is introduced for two reasons:
1) reuse testing utils for expected result of type `List<Row>`
2) String representation for results are not suitable for some data field, for example, MapType, because the order is not stable for Map entry. We can utilize utils from Flink `RowUtils#compareRows` to compare two `List<Row>`.
For the readability, as the inserting source data is also in form of List<RowData>, maybe it's more straightforward to compare List<Row> and List<RowData>.
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/ITTestDataStreamWrite.java:
##########
@@ -186,11 +182,12 @@ public void testWriteCopyOnWriteWithClustering(boolean sortClusteringEnabled) th
writeWithClusterAndCheckExpected(conf, "cow_write_with_cluster", 1, EXPECTED);
}
- @Disabled("HUDI-9196")
@ParameterizedTest
@ValueSource(strings = {"COPY_ON_WRITE", "MERGE_ON_READ"})
public void testStreamWriteWithIndexBootstrap(String tableType) throws Exception {
Configuration conf = TestConfigurations.getDefaultConf(tempFile.toURI().toString());
+ conf.set(FlinkOptions.COMPACTION_ASYNC_ENABLED, false);
+ conf.set(FlinkOptions.COMPACTION_DELTA_COMMITS, 1);
Review Comment:
Writing pipeline in this test is customized, not same with that in `HoodieTableSink`. Compact operator is added if the table type is MOR, see Line 285.
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestHoodieDataSource.java:
##########
@@ -1129,9 +1113,9 @@ void testWriteLocalIndex() {
assertRowsEquals(result, expected, 3);
}
- @Test
- void testStreamReadEmptyTablePath() throws Exception {
- // case1: table metadata path does not exists
+ @ParameterizedTest
+ @ValueSource(booleans = {true, false})
+ void testStreamReadEmptyTablePath(boolean initTable) throws Exception {
Review Comment:
For the previous code, sometimes tm resources are not released after case1 canceled, which lead to unexpected failure of case2. The change here is to make sure a new table environment is created for testing every case, and enhance the stability.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2756300581
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
}, {
"hash" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431",
"triggerID" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"triggerType" : "PUSH"
}, {
"hash" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"triggerType" : "PUSH"
}, {
"hash" : "f422934fdc67925c9a208ba6a6235cd62ca14db9",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "f422934fdc67925c9a208ba6a6235cd62ca14db9",
"triggerType" : "PUSH"
}, {
"hash" : "1fbd532a004b59587b5b7b708c2bcdd6dd48a048",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "1fbd532a004b59587b5b7b708c2bcdd6dd48a048",
"triggerType" : "PUSH"
}, {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459",
"triggerID" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 19f4541c7444e11ea10ea0add62c5008004aa662 UNKNOWN
* f422934fdc67925c9a208ba6a6235cd62ca14db9 UNKNOWN
* 1fbd532a004b59587b5b7b708c2bcdd6dd48a048 UNKNOWN
* 4b57fa39b3cb33a0a403a05af7a609fced993c82 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2754548557
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
}, {
"hash" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431",
"triggerID" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"triggerType" : "PUSH"
}, {
"hash" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"triggerType" : "PUSH"
}, {
"hash" : "f422934fdc67925c9a208ba6a6235cd62ca14db9",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "f422934fdc67925c9a208ba6a6235cd62ca14db9",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 3be8ae0d190925dbcdab23aca5335e5358de2bfc Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431)
* 19f4541c7444e11ea10ea0add62c5008004aa662 UNKNOWN
* f422934fdc67925c9a208ba6a6235cd62ca14db9 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "cshuo (via GitHub)" <gi...@apache.org>.
cshuo commented on code in PR #13027:
URL: https://github.com/apache/hudi/pull/13027#discussion_r2011433648
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestHoodieDataSource.java:
##########
@@ -541,24 +540,26 @@ void testReadWithPartitionStatsPruning(HoodieTableType tableType, boolean hiveSt
"select * from t1 where uuid > 'id5' and age > 15",
// filter by partition stats pruner and dynamic partition pruner
"select * from t1 where uuid > 'id5' and age > 15 and `partition` > 'par3'");
- List<String> expectResults =
+ List<List<Row>> expectResults =
Arrays.asList(
- "[+I[id1, Danny, 23, 1970-01-01T00:00:00.001, par1], "
- + "+I[id2, Stephen, 33, 1970-01-01T00:00:00.002, par1], "
- + "+I[id3, Julian, 53, 1970-01-01T00:00:00.003, par2], "
- + "+I[id4, Fabian, 31, 1970-01-01T00:00:00.004, par2], "
- + "+I[id5, Sophia, 18, 1970-01-01T00:00:00.005, par3], "
- + "+I[id6, Emma, 20, 1970-01-01T00:00:00.006, par3], "
- + "+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]",
- "[+I[id6, Emma, 20, 1970-01-01T00:00:00.006, par3], "
- + "+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]",
- "[+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]");
+ Arrays.asList(
+ row("id1", "Danny", 23, TimestampData.fromEpochMillis(1).toLocalDateTime(), "par1"),
+ row("id2", "Stephen", 33, TimestampData.fromEpochMillis(2).toLocalDateTime(), "par1"),
+ row("id3", "Julian", 53, TimestampData.fromEpochMillis(3).toLocalDateTime(), "par2"),
+ row("id4", "Fabian", 31, TimestampData.fromEpochMillis(4).toLocalDateTime(), "par2"),
+ row("id5", "Sophia", 18, TimestampData.fromEpochMillis(5).toLocalDateTime(), "par3"),
Review Comment:
The changes is introduced for two reasons:
1) reuse testing utils for expected result of type `List<Row>`
2) String representation for results are not suitable for some field types, for example, MapType, because the order is not stable for Map entry. We can utilize utils from Flink `RowUtils#compareRows` to compare two `List<Row>`.
For the readability, as the inserting source data is also in form of List<RowData>, maybe it's more straightforward to compare List<Row> and List<RowData>.
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestHoodieDataSource.java:
##########
@@ -541,24 +540,26 @@ void testReadWithPartitionStatsPruning(HoodieTableType tableType, boolean hiveSt
"select * from t1 where uuid > 'id5' and age > 15",
// filter by partition stats pruner and dynamic partition pruner
"select * from t1 where uuid > 'id5' and age > 15 and `partition` > 'par3'");
- List<String> expectResults =
+ List<List<Row>> expectResults =
Arrays.asList(
- "[+I[id1, Danny, 23, 1970-01-01T00:00:00.001, par1], "
- + "+I[id2, Stephen, 33, 1970-01-01T00:00:00.002, par1], "
- + "+I[id3, Julian, 53, 1970-01-01T00:00:00.003, par2], "
- + "+I[id4, Fabian, 31, 1970-01-01T00:00:00.004, par2], "
- + "+I[id5, Sophia, 18, 1970-01-01T00:00:00.005, par3], "
- + "+I[id6, Emma, 20, 1970-01-01T00:00:00.006, par3], "
- + "+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]",
- "[+I[id6, Emma, 20, 1970-01-01T00:00:00.006, par3], "
- + "+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]",
- "[+I[id7, Bob, 44, 1970-01-01T00:00:00.007, par4], "
- + "+I[id8, Han, 56, 1970-01-01T00:00:00.008, par4]]");
+ Arrays.asList(
+ row("id1", "Danny", 23, TimestampData.fromEpochMillis(1).toLocalDateTime(), "par1"),
+ row("id2", "Stephen", 33, TimestampData.fromEpochMillis(2).toLocalDateTime(), "par1"),
+ row("id3", "Julian", 53, TimestampData.fromEpochMillis(3).toLocalDateTime(), "par2"),
+ row("id4", "Fabian", 31, TimestampData.fromEpochMillis(4).toLocalDateTime(), "par2"),
+ row("id5", "Sophia", 18, TimestampData.fromEpochMillis(5).toLocalDateTime(), "par3"),
Review Comment:
The changes is introduced for two reasons:
1) reuse testing utils for expected result of type `List<Row>`
2) String representation for results are not suitable for some field types, e.g., MapType, because the order is not stable for Map entry. We can utilize utils from Flink `RowUtils#compareRows` to compare two `List<Row>`.
For the readability, as the inserting source data is also in form of List<RowData>, maybe it's more straightforward to compare List<Row> and List<RowData>.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2756083212
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
}, {
"hash" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431",
"triggerID" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"triggerType" : "PUSH"
}, {
"hash" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"triggerType" : "PUSH"
}, {
"hash" : "f422934fdc67925c9a208ba6a6235cd62ca14db9",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "f422934fdc67925c9a208ba6a6235cd62ca14db9",
"triggerType" : "PUSH"
}, {
"hash" : "1fbd532a004b59587b5b7b708c2bcdd6dd48a048",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "1fbd532a004b59587b5b7b708c2bcdd6dd48a048",
"triggerType" : "PUSH"
}, {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 3be8ae0d190925dbcdab23aca5335e5358de2bfc Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431)
* 19f4541c7444e11ea10ea0add62c5008004aa662 UNKNOWN
* f422934fdc67925c9a208ba6a6235cd62ca14db9 UNKNOWN
* 1fbd532a004b59587b5b7b708c2bcdd6dd48a048 UNKNOWN
* 4b57fa39b3cb33a0a403a05af7a609fced993c82 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2757265073
Azure CI passed: https://dev.azure.com/apachehudi/hudi-oss-ci/_build/results?buildId=4476&view=results
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 merged PR #13027:
URL: https://github.com/apache/hudi/pull/13027
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2750029206
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* df5bf3cc612216fe787e699f9180afc327bea49a Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372)
* 7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on code in PR #13027:
URL: https://github.com/apache/hudi/pull/13027#discussion_r2011315895
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestHoodieDataSource.java:
##########
@@ -147,20 +157,17 @@ void testStreamWriteAndReadFromSpecifiedCommit(HoodieTableType tableType) throws
.option(FlinkOptions.READ_START_COMMIT, firstCommit)
.end();
streamTableEnv.executeSql(hoodieTableDDL);
- List<Row> rows = execSelectSql(streamTableEnv, "select * from t1", 10);
- assertRowsEquals(rows, TestData.DATA_SET_SOURCE_INSERT);
+ execSelectSqlAndCheckResult(streamTableEnv, "select * from t1", TestData.DATA_SET_SOURCE_INSERT);
Review Comment:
Maybe we use the current style and just extend the `execSelectSql` method.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "cshuo (via GitHub)" <gi...@apache.org>.
cshuo commented on code in PR #13027:
URL: https://github.com/apache/hudi/pull/13027#discussion_r2011408905
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestHoodieDataSource.java:
##########
@@ -1129,9 +1113,9 @@ void testWriteLocalIndex() {
assertRowsEquals(result, expected, 3);
}
- @Test
- void testStreamReadEmptyTablePath() throws Exception {
- // case1: table metadata path does not exists
+ @ParameterizedTest
+ @ValueSource(booleans = {true, false})
+ void testStreamReadEmptyTablePath(boolean initTable) throws Exception {
Review Comment:
For the previous code, sometimes tm resources are not released after case1 canceled, which lead to unexpected failure of case2. The change here is to make sure a new `TableEnvironment` is created for testing every case, and enhance the stability.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2754410242
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
}, {
"hash" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b7c3a47a9a2f3c142115eec166540cc339154c28 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388)
* 3be8ae0d190925dbcdab23aca5335e5358de2bfc UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2756119756
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
}, {
"hash" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431",
"triggerID" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"triggerType" : "PUSH"
}, {
"hash" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"triggerType" : "PUSH"
}, {
"hash" : "f422934fdc67925c9a208ba6a6235cd62ca14db9",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "f422934fdc67925c9a208ba6a6235cd62ca14db9",
"triggerType" : "PUSH"
}, {
"hash" : "1fbd532a004b59587b5b7b708c2bcdd6dd48a048",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "1fbd532a004b59587b5b7b708c2bcdd6dd48a048",
"triggerType" : "PUSH"
}, {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459",
"triggerID" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 3be8ae0d190925dbcdab23aca5335e5358de2bfc Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431)
* 19f4541c7444e11ea10ea0add62c5008004aa662 UNKNOWN
* f422934fdc67925c9a208ba6a6235cd62ca14db9 UNKNOWN
* 1fbd532a004b59587b5b7b708c2bcdd6dd48a048 UNKNOWN
* 4b57fa39b3cb33a0a403a05af7a609fced993c82 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2756839984
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459",
"triggerID" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 4b57fa39b3cb33a0a403a05af7a609fced993c82 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2750816528
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376)
* b7c3a47a9a2f3c142115eec166540cc339154c28 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2749901826
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* df5bf3cc612216fe787e699f9180afc327bea49a Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2751027841
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* b7c3a47a9a2f3c142115eec166540cc339154c28 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on code in PR #13027:
URL: https://github.com/apache/hudi/pull/13027#discussion_r2011315369
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/ITTestDataStreamWrite.java:
##########
@@ -186,11 +182,12 @@ public void testWriteCopyOnWriteWithClustering(boolean sortClusteringEnabled) th
writeWithClusterAndCheckExpected(conf, "cow_write_with_cluster", 1, EXPECTED);
}
- @Disabled("HUDI-9196")
@ParameterizedTest
@ValueSource(strings = {"COPY_ON_WRITE", "MERGE_ON_READ"})
public void testStreamWriteWithIndexBootstrap(String tableType) throws Exception {
Configuration conf = TestConfigurations.getDefaultConf(tempFile.toURI().toString());
+ conf.set(FlinkOptions.COMPACTION_ASYNC_ENABLED, false);
+ conf.set(FlinkOptions.COMPACTION_DELTA_COMMITS, 1);
Review Comment:
Flink does not have inline compaction.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "danny0405 (via GitHub)" <gi...@apache.org>.
danny0405 commented on code in PR #13027:
URL: https://github.com/apache/hudi/pull/13027#discussion_r2011313815
##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/sink/ITTestDataStreamWrite.java:
##########
@@ -167,6 +161,8 @@ public void testWriteMergeOnReadWithCompaction(String indexType) throws Exceptio
conf.setString(FlinkOptions.INDEX_TYPE, indexType);
conf.setInteger(FlinkOptions.BUCKET_INDEX_NUM_BUCKETS, 4);
conf.setInteger(FlinkOptions.COMPACTION_DELTA_COMMITS, 1);
+ // use synchronized compaction to ensure flink job finishing with compaction completed.
+ conf.set(FlinkOptions.COMPACTION_ASYNC_ENABLED, false);
Review Comment:
Flink does not have inline compaction.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2756943669
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459",
"triggerID" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"triggerType" : "PUSH"
}, {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4474",
"triggerID" : "2756852511",
"triggerType" : "MANUAL"
}, {
"hash" : "a9ee96556dd2930c25c554c474177450e16ad63b",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "a9ee96556dd2930c25c554c474177450e16ad63b",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 4b57fa39b3cb33a0a403a05af7a609fced993c82 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459) Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4474)
* a9ee96556dd2930c25c554c474177450e16ad63b UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2754423918
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4376",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
}, {
"hash" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"status" : "DELETED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4388",
"triggerID" : "b7c3a47a9a2f3c142115eec166540cc339154c28",
"triggerType" : "PUSH"
}, {
"hash" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431",
"triggerID" : "3be8ae0d190925dbcdab23aca5335e5358de2bfc",
"triggerType" : "PUSH"
}, {
"hash" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "19f4541c7444e11ea10ea0add62c5008004aa662",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 3be8ae0d190925dbcdab23aca5335e5358de2bfc Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4431)
* 19f4541c7444e11ea10ea0add62c5008004aa662 UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2756854147
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "FAILURE",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459",
"triggerID" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"triggerType" : "PUSH"
}, {
"hash" : "4b57fa39b3cb33a0a403a05af7a609fced993c82",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4474",
"triggerID" : "2756852511",
"triggerType" : "MANUAL"
} ]
}-->
## CI report:
* 4b57fa39b3cb33a0a403a05af7a609fced993c82 Azure: [FAILURE](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4459) Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4474)
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "cshuo (via GitHub)" <gi...@apache.org>.
cshuo commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2756852511
@hudi-bot run azure
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2749899749
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* df5bf3cc612216fe787e699f9180afc327bea49a UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [HUDI-9205] Refactor Flink tests to avoid sleeping for data results [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13027:
URL: https://github.com/apache/hudi/pull/13027#issuecomment-2750027184
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"status" : "SUCCESS",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372",
"triggerID" : "df5bf3cc612216fe787e699f9180afc327bea49a",
"triggerType" : "PUSH"
}, {
"hash" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* df5bf3cc612216fe787e699f9180afc327bea49a Azure: [SUCCESS](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=4372)
* 7b2a014125b4b3eb5c8e7eb8e6e02dfc67fd66bc UNKNOWN
<details>
<summary>Bot commands</summary>
@hudi-bot supports the following commands:
- `@hudi-bot run azure` re-run the last Azure build
</details>
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org