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

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • 6.1.1
    • ExeMgr, PrimProc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.