Details
-
Test
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
Description
As per discussion https://github.com/apache/arrow/pull/5002
For UINT type, when write/read json data in integration test, it extend data type(i.e. Long->BigInteger, Int->Long) to avoid potential overflow.
Like UINT8 the write side and read side code like this:
case UINT8: generator.writeNumber(UInt8Vector.getNoOverflow(buffer, index)); break;
BigInteger value = parser.getBigIntegerValue(); buf.writeLong(value.longValue());
Should add a test to avoid potential overflow in the data transfer process.
Attachments
Issue Links
- links to