You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "justinmclean (via GitHub)" <gi...@apache.org> on 2025/08/26 06:38:15 UTC

[I] [Improvement] Add support for VarcharType and CharType partition values in SparkPartitionUtils.getSparkPartitionValue [gravitino]

justinmclean opened a new issue, #8287:
URL: https://github.com/apache/gravitino/issues/8287

   ### What would you like to be improved?
   
   Add support for VarcharType and CharType partition values in spark-connector/spark-common/src/main/java/org/apache/gravitino/spark/connector/utils/SparkPartitionUtils.java
   
   Here a test to help:
   ```
     @Test
     void testGetSparkPartitionValueVarcharAndChar() {
       Assertions.assertEquals(
           UTF8String.fromString("abc"),
           SparkPartitionUtils.getSparkPartitionValue("abc", VarcharType.apply(5)));
       Assertions.assertEquals(
           UTF8String.fromString("xy"),
           SparkPartitionUtils.getSparkPartitionValue("xy", CharType.apply(2)));
     }
   ```
   
   ### How should we improve?
   
   _No response_


-- 
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@gravitino.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Improvement] Add support for VarcharType and CharType partition values in SparkPartitionUtils.getSparkPartitionValue [gravitino]

Posted by "mxnzx (via GitHub)" <gi...@apache.org>.
mxnzx commented on issue #8287:
URL: https://github.com/apache/gravitino/issues/8287#issuecomment-3222904093

   @justinmclean Hi, Could I work on this issue?


-- 
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@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Improvement] Add support for VarcharType and CharType partition values in SparkPartitionUtils.getSparkPartitionValue [gravitino]

Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on issue #8287:
URL: https://github.com/apache/gravitino/issues/8287#issuecomment-3222997490

   Yes, it's all yours.


-- 
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@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Improvement] Add support for VarcharType and CharType partition values in SparkPartitionUtils.getSparkPartitionValue [gravitino]

Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean closed issue #8287: [Improvement] Add support for VarcharType and CharType partition values in SparkPartitionUtils.getSparkPartitionValue
URL: https://github.com/apache/gravitino/issues/8287


-- 
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@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org