You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Andrew Wong (Jira)" <ji...@apache.org> on 2020/10/19 21:24:00 UTC

[jira] [Created] (KUDU-3203) Allow clients to support reading decimals with wider bit-width

Andrew Wong created KUDU-3203:
---------------------------------

             Summary: Allow clients to support reading decimals with wider bit-width
                 Key: KUDU-3203
                 URL: https://issues.apache.org/jira/browse/KUDU-3203
             Project: Kudu
          Issue Type: Improvement
          Components: client
            Reporter: Andrew Wong


Today, decimal bit-width is entirely determined by Kudu. When creating a schema of a given precision and scale, Kudu determines the correct bit-width for the parameters, and uses that to store values.

Client scanners can only specify reading DECIMAL (ignorant of bit-width). In requesting the columnar layout, however, it'd be nice if client scanners could also specify the desired bit-width to get back from tservers, and have the tservers inflate values as appropriate. This would be helpful, e.g. to read DECIMAL32- and DECIMAL64-stored data in Arrow, which currently only supports DECIMAL128 and DECIMAL256.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)