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

ERROR 1815 with log10 and aggregation functions

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 1.2, 1.2.5
    • 1.2.6
    • ExeMgr, PrimProc
    • None
    • 2019-06

    Description

      To reproduce

      create table log10test (a double) engine=columnstore;
      insert into log10test (a) values(123);
      select log10(sum(a)) from log10test;
      ERROR 1815 (HY000): Internal error: log10: datatype of long double
      

      Attachments

        Issue Links

          Activity

            Richard Richard Stracke created issue -

            workarround:

            select log10(CAST(sum(a) as decimal)) from log10test;

            Richard Richard Stracke added a comment - workarround: select log10(CAST(sum(a) as decimal)) from log10test;
            David.Hall David Hall (Inactive) made changes -
            Field Original Value New Value
            Assignee David Hall [ david.hall ]
            David.Hall David Hall (Inactive) made changes -
            Component/s ExeMgr [ 13506 ]
            Component/s PrimProc [ 13700 ]
            Fix Version/s 1.2.6 [ 23734 ]
            Fix Version/s 1.4.1 [ 23812 ]
            Sprint 2019-06 [ 332 ]
            David.Hall David Hall (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]

            Added long double support to math functions

            David.Hall David Hall (Inactive) added a comment - Added long double support to math functions

            For QA, the following math functions are involved:
            acos, asin, atan, cos, cot, log, log2, log10, sin, sqrt, tan, radians, degrees

            Special cases of atan and log take an optional second parameter.

            The test is to use sum(v1) or avg(v1) as the argument

            David.Hall David Hall (Inactive) added a comment - For QA, the following math functions are involved: acos, asin, atan, cos, cot, log, log2, log10, sin, sqrt, tan, radians, degrees Special cases of atan and log take an optional second parameter. The test is to use sum(v1) or avg(v1) as the argument
            David.Hall David Hall (Inactive) made changes -
            Assignee David Hall [ david.hall ] Jose Rojas [ jrojas ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            David.Hall David Hall (Inactive) made changes -
            Status In Review [ 10002 ] Needs Feedback [ 10501 ]
            David.Hall David Hall (Inactive) made changes -
            Status Needs Feedback [ 10501 ] In Review [ 10002 ]
            David.Hall David Hall (Inactive) made changes -
            Status In Review [ 10002 ] Needs Feedback [ 10501 ]
            David.Hall David Hall (Inactive) made changes -
            Status Needs Feedback [ 10501 ] In Review [ 10002 ]
            jrojas Jose Rojas (Inactive) made changes -
            Status In Review [ 10002 ] In Testing [ 10301 ]
            jrojas Jose Rojas (Inactive) made changes -
            Assignee Jose Rojas [ jrojas ] Daniel Lee [ dleeyh ]
            toddstoffel Todd Stoffel (Inactive) made changes -
            Rank Ranked higher

            Build verified: 1.2.6-1

            MariaDB [mytest]> select log10(sum(a)) from log10test;
            -------------------

            log10(sum(a))

            -------------------

            2.089905111439398

            -------------------
            1 row in set (0.065 sec)

            Also verified other functions in the last comment.

            Fixed has not yet been up merged to 1.4.1-1

            dleeyh Daniel Lee (Inactive) added a comment - Build verified: 1.2.6-1 MariaDB [mytest] > select log10(sum(a)) from log10test; ------------------- log10(sum(a)) ------------------- 2.089905111439398 ------------------- 1 row in set (0.065 sec) Also verified other functions in the last comment. Fixed has not yet been up merged to 1.4.1-1
            LinuxJedi Andrew Hutchings (Inactive) made changes -
            Fix Version/s 1.4.1 [ 23812 ]

            The fix for 1.4.1-1 will be tracked in a different ticket. Closing this one.

            dleeyh Daniel Lee (Inactive) added a comment - The fix for 1.4.1-1 will be tracked in a different ticket. Closing this one.
            dleeyh Daniel Lee (Inactive) made changes -
            issue.field.resolutiondate 2019-11-25 21:52:35.0 2019-11-25 21:52:35.843
            dleeyh Daniel Lee (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status In Testing [ 10301 ] Closed [ 6 ]
            LinuxJedi Andrew Hutchings (Inactive) made changes -
            mariadb-jira-automation Jira Automation (IT) made changes -
            Zendesk Related Tickets 191397

            People

              dleeyh Daniel Lee (Inactive)
              Richard Richard Stracke
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.