Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3203

Allow clients to support reading decimals with wider bit-width

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • client
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            awong Andrew Wong

            Dates

              Created:
              Updated:

              Slack

                Issue deployment