jdbc: set type of BigInteger as VARCHAR#3940
Conversation
…INT64. Signed-off-by: Alex Charis <acharis@hubspot.com>
|
In Mysql Bigint can have negative value hence it was kept as INT64. |
|
yeah, i'm not really sure what the right thing to do is...we're mapping a Java BigInteger, which provides arbitrary precision signed integers, onto a mysql bigint, which can be signed or unsigned and has limited precision. and i'm guessing we don't know which we're mapping to at this point in the code. |
|
@acharis Do you have reason for changing this to UINT64? Is it breaking things? We can think of sending it as string. Can you validate that. |
|
Yes, things are broken as-is and this fixes them. Tested internally. That being said, as above, I'm not sure what the right fix is. |
Signed-off-by: Alex Charis <acharis@hubspot.com>
|
Reviewed 2 of 2 files at r2. Comments from Reviewable |
|
LGTM |
Signed-off-by: Alex Charis acharis@hubspot.com