You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by vh...@apache.org on 2025/12/31 02:13:40 UTC

(hudi) branch phase-18-HoodieAvroUtils-removal updated (3bd409f28d01 -> a4939d12b7d9)

This is an automated email from the ASF dual-hosted git repository.

vhs pushed a change to branch phase-18-HoodieAvroUtils-removal
in repository https://gitbox.apache.org/repos/asf/hudi.git


    from 3bd409f28d01 Address comments
     add a88ae9de253e Fix test: test Secondary Index With All DataTypes
     new a4939d12b7d9 Fix test: testValidateDataTypeForSecondaryIndex

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../test/java/org/apache/hudi/index/TestHoodieIndexUtils.java    | 2 +-
 .../org/apache/hudi/functional/TestSecondaryIndexDataTypes.scala | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)


(hudi) 01/01: Fix test: testValidateDataTypeForSecondaryIndex

Posted by vh...@apache.org.
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 <vo...@gmail.com>
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));