You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Davis-Zhang-Onehouse (via GitHub)" <gi...@apache.org> on 2025/07/24 23:49:59 UTC
[PR] [MINOR] fix broken test [hudi]
Davis-Zhang-Onehouse opened a new pull request, #13618:
URL: https://github.com/apache/hudi/pull/13618
### Change Logs
fix broken test
### Impact
fix broken test
### Risk level (write none, low medium or high below)
none
### Documentation Update
### 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] [MINOR] fix broken test [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13618:
URL: https://github.com/apache/hudi/pull/13618#issuecomment-3115353713
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "96b483fc146db98026a524eca46c3decf0f212c9",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7097",
"triggerID" : "96b483fc146db98026a524eca46c3decf0f212c9",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 96b483fc146db98026a524eca46c3decf0f212c9 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7097)
<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] [MINOR] fix broken test [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13618:
URL: https://github.com/apache/hudi/pull/13618#issuecomment-3115351050
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "96b483fc146db98026a524eca46c3decf0f212c9",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "96b483fc146db98026a524eca46c3decf0f212c9",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 96b483fc146db98026a524eca46c3decf0f212c9 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] [MINOR] fix broken test [hudi]
Posted by "yihua (via GitHub)" <gi...@apache.org>.
yihua commented on code in PR #13618:
URL: https://github.com/apache/hudi/pull/13618#discussion_r2229829576
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/feature/index/testHoodieBackedTableMetadataIndexLookup.scala:
##########
@@ -54,7 +54,29 @@ abstract class HoodieBackedTableMetadataIndexLookupTestBase extends HoodieSparkS
protected var hoodieBackedTableMetadata: HoodieBackedTableMetadata = _
protected var testData: Seq[Seq[Any]] = _
protected var tmpDir: File = _
-
+ private val createTableStmtProvider = () =>
Review Comment:
nit: try to avoid abbreviations
```suggestion
private val createTableStatementProvider = () =>
```
--
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] [MINOR] fix broken test [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13618:
URL: https://github.com/apache/hudi/pull/13618#issuecomment-3115372050
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "96b483fc146db98026a524eca46c3decf0f212c9",
"status" : "CANCELED",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7097",
"triggerID" : "96b483fc146db98026a524eca46c3decf0f212c9",
"triggerType" : "PUSH"
}, {
"hash" : "84246538348f4694d7ffdd25aca0eb2d3b3d70d4",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "84246538348f4694d7ffdd25aca0eb2d3b3d70d4",
"triggerType" : "PUSH"
}, {
"hash" : "627c734e0a799e757ace518760bf3874bc6038e8",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "627c734e0a799e757ace518760bf3874bc6038e8",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 96b483fc146db98026a524eca46c3decf0f212c9 Azure: [CANCELED](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7097)
* 84246538348f4694d7ffdd25aca0eb2d3b3d70d4 UNKNOWN
* 627c734e0a799e757ace518760bf3874bc6038e8 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] [MINOR] fix broken test [hudi]
Posted by "Davis-Zhang-Onehouse (via GitHub)" <gi...@apache.org>.
Davis-Zhang-Onehouse commented on code in PR #13618:
URL: https://github.com/apache/hudi/pull/13618#discussion_r2229830200
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/feature/index/testHoodieBackedTableMetadataIndexLookup.scala:
##########
@@ -54,7 +54,29 @@ abstract class HoodieBackedTableMetadataIndexLookupTestBase extends HoodieSparkS
protected var hoodieBackedTableMetadata: HoodieBackedTableMetadata = _
protected var testData: Seq[Seq[Any]] = _
protected var tmpDir: File = _
-
+ private val createTableStmtProvider = () =>
Review Comment:
done
--
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] [MINOR] fix broken test [hudi]
Posted by "yihua (via GitHub)" <gi...@apache.org>.
yihua commented on code in PR #13618:
URL: https://github.com/apache/hudi/pull/13618#discussion_r2229823336
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/feature/index/testHoodieBackedTableMetadataIndexLookup.scala:
##########
@@ -154,7 +154,7 @@ abstract class HoodieBackedTableMetadataIndexLookupTestBase extends HoodieSparkS
|create table $tableName (
| id string,
| name string,
- | price int,
+ | price double,
Review Comment:
Could the column stay integer type? Why does it fail?
--
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] [MINOR] fix broken test [hudi]
Posted by "yihua (via GitHub)" <gi...@apache.org>.
yihua commented on code in PR #13618:
URL: https://github.com/apache/hudi/pull/13618#discussion_r2229827077
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/feature/index/testHoodieBackedTableMetadataIndexLookup.scala:
##########
@@ -154,7 +154,7 @@ abstract class HoodieBackedTableMetadataIndexLookupTestBase extends HoodieSparkS
|create table $tableName (
| id string,
| name string,
- | price int,
+ | price double,
Review Comment:
Should the `CREATE TABLE` statement be reused (same String val) across `ensureTableExists` and `setupSharedTestData`
--
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] [MINOR] fix broken test [hudi]
Posted by "yihua (via GitHub)" <gi...@apache.org>.
yihua merged PR #13618:
URL: https://github.com/apache/hudi/pull/13618
--
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] [MINOR] fix broken test [hudi]
Posted by "hudi-bot (via GitHub)" <gi...@apache.org>.
hudi-bot commented on PR #13618:
URL: https://github.com/apache/hudi/pull/13618#issuecomment-3115369236
<!--
Meta data
{
"version" : 1,
"metaDataEntries" : [ {
"hash" : "96b483fc146db98026a524eca46c3decf0f212c9",
"status" : "PENDING",
"url" : "https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7097",
"triggerID" : "96b483fc146db98026a524eca46c3decf0f212c9",
"triggerType" : "PUSH"
}, {
"hash" : "84246538348f4694d7ffdd25aca0eb2d3b3d70d4",
"status" : "UNKNOWN",
"url" : "TBD",
"triggerID" : "84246538348f4694d7ffdd25aca0eb2d3b3d70d4",
"triggerType" : "PUSH"
} ]
}-->
## CI report:
* 96b483fc146db98026a524eca46c3decf0f212c9 Azure: [PENDING](https://dev.azure.com/apachehudi/a1a51da7-8592-47d4-88dc-fd67bed336bb/_build/results?buildId=7097)
* 84246538348f4694d7ffdd25aca0eb2d3b3d70d4 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] [MINOR] fix broken test [hudi]
Posted by "Davis-Zhang-Onehouse (via GitHub)" <gi...@apache.org>.
Davis-Zhang-Onehouse commented on code in PR #13618:
URL: https://github.com/apache/hudi/pull/13618#discussion_r2229828600
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/feature/index/testHoodieBackedTableMetadataIndexLookup.scala:
##########
@@ -154,7 +154,7 @@ abstract class HoodieBackedTableMetadataIndexLookupTestBase extends HoodieSparkS
|create table $tableName (
| id string,
| name string,
- | price int,
+ | price double,
Review Comment:
because we initially create table as double col, later when register it again in the spark catalog we create it as int which causes mismatches.
I extract the query str to be reused in both places now
--
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