Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6174

Mismatched size of input seed of rand/random between docs and backend

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • Impala 3.1.0
    • Backend, Docs
    • None
    • ghx-label-8

    Description

      The mismatch between docs and the code about the integer type (4-byte vs 8-byte) of seed for rand/random functions.

      • Doc: docs/topics/impala_math_functions.xml:1081
        • 1081 <codeph>rand()</codeph>, <codeph>rand(int seed)</codeph>,
      • Code: common/function-registry/impala_functions.py:299
        • 299 [['rand','random'], 'DOUBLE', ['BIGINT'], 'impala::MathFunctions::RandSeed',

      Attachments

        Activity

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

          People

            arodoni Alexandra Rodoni
            jinchul Jin Chul Kim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment