ladebangbangde opened a new issue, #336: URL: https://github.com/apache/doris-spark-connector/issues/336
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues. ### Version 25.0.1 ### What's Wrong? When connector read random table contain Specific "IPV6" column type with such "x :: x" value It will throw a DORISEXCEPTION ### What You Expected? ### Flaw Describing: I actually found out what's going on here,and outline as follow. 1. Create a table via JDBC let's say NAVICAT ,the given table contain such column type 'IPV6' value is "x::x" 2. Using doris-spark-connector to read the Table 3. It will going to DorisPartitionReader next()-> AbstractThriftReader next()-> Then check by hasNext() -> Init RowBatch using given info them jump into convertArrowToRowBatch() in RowBatch then chose to 'IPV6' brach in the overall 'switch' process. 4. These tow lines may borter me and trigger the issue we are talking about **CUZ Using BigInteger with a INIT parameter LIKE"x::x" may direct cause the INPUTFORMAT issue**. String ipv6Str = new String(ipv6VarcharVector.get(rowIndex)); String ipv6Address = IPUtils.fromBigInteger(new BigInteger(ipv6Str)); ### How to Reproduce? Using normal String to store and convert the value like "x::x".When it detect String contain "::" in it using a different type from the orginal in source code. ### Anything Else? Why using break when encounter NULL value in brach "IPV6" in ROWBACTH? I thought the continue may make more sense.Plz guide me in delima. ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
