This is an automated email from the ASF dual-hosted git repository. vhs pushed a commit to branch phase-18-HoodieAvroUtils-removal in repository https://gitbox.apache.org/repos/asf/hudi.git
commit a4939d12b7d916e8ca37010f77feead24ec85328 Author: voon <[email protected]> AuthorDate: Wed Dec 31 10:13:30 2025 +0800 Fix test: testValidateDataTypeForSecondaryIndex --- .../src/test/java/org/apache/hudi/index/TestHoodieIndexUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hudi-client/hudi-client-common/src/test/java/org/apache/hudi/index/TestHoodieIndexUtils.java b/hudi-client/hudi-client-common/src/test/java/org/apache/hudi/index/TestHoodieIndexUtils.java index a56ae00e5590..fe523fb31cd3 100644 --- a/hudi-client/hudi-client-common/src/test/java/org/apache/hudi/index/TestHoodieIndexUtils.java +++ b/hudi-client/hudi-client-common/src/test/java/org/apache/hudi/index/TestHoodieIndexUtils.java @@ -202,7 +202,7 @@ public class TestHoodieIndexUtils { assertFalse(validateDataTypeForSecondaryIndex(Collections.singletonList("arrayField"), schema)); assertFalse(validateDataTypeForSecondaryIndex(Collections.singletonList("mapField"), schema)); assertFalse(validateDataTypeForSecondaryIndex(Collections.singletonList("structField"), schema)); - assertFalse(validateDataTypeForSecondaryIndex(Collections.singletonList("floatField"), schema)); + assertTrue(validateDataTypeForSecondaryIndex(Collections.singletonList("floatField"), schema)); // Test mix of supported and unsupported types (should fail) assertFalse(validateDataTypeForSecondaryIndex(Arrays.asList("stringField", "booleanField"), schema));
