Uploaded image for project: 'MariaDB ColumnStore'
  1. MariaDB ColumnStore
  2. MCOL-4466

UDAF shouldn't use uint64_t variables storing its output as regr_count() and distinct_count() do

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1.1
    • Component/s: ExeMgr, PrimProc
    • Labels:
      None

      Description

      regr_count() uses uint64_t for a counter that is returned using boost::any. However MDB's allows to return only: INT, DECIMAL, REAL and STR from UDAF. The boost::any = uint64_t operations sets the boost::any internal policy to uint64_t in mcsv1sdk::mcsv1_UDAF::evaluate()(e.g. in RowAggregationUM::calculateUDAFColumns) so the revert operation in SetUDAFValue() can't deduce the type correctly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              drrtuy Roman
              Reporter:
              drrtuy Roman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration