angelyouyou opened a new issue, #26812:
URL: https://github.com/apache/doris/issues/26812

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   v2.0.1
   
   ### What's Wrong?
   
   Currently the maximum number of Decimal type integers supported by Doris can 
only be 38. We hope to store the digital form of IPv6 addresses through Doris, 
which will cause the data to be stored incorrectly.
   After browsing the Decimal type of the ClickHouse database, the Decimal type 
can support up to Decimal256(S), which can effectively solve the storage 
problem when the value is large.
   
   ### What You Expected?
   
   The precision of the integer part of Decimal can at least support the length 
of the number corresponding to the IPv6 address.
   
   ### How to Reproduce?
   
   Documentation about Decimal type and practice have confirmed that when the 
Decimal precision is specified as DECIMAL(38, 0), the value corresponding to 
the IPv6 address (2409:8087:574C:14:1000::49) cannot be saved.
   
   
   ### Anything Else?
   
   _No response_
   
   ### 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]

Reply via email to