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

MariaDB 10.3 median() WF overlaps with the test UDAF function.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 1.2
    • Icebox
    • MDB Plugin
    • None

    Description

      There is a number of tests against median() UDAF. After 10.3 merging the tests complain in this way and queries use the median() UDAF fails afterwards with a syntax error:

      MariaDB [tpch1]> CREATE OR REPLACE AGGREGATE FUNCTION median returns REAL soname 'libudf_mysql.so';
      ERROR 1585 (HY000): This function 'median' has the same name as a native function
      MariaDB [tpch1]> select l_shipmode,avg_mode(l_extendedprice),l_shipmode,median(l_extendedprice) from lineitem group by l_shipmode order by l_shipmode;
      ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'from lineitem group by l_shipmode order by l_shipmode' at line 1
      MariaDB [tpch1]>
      

      Attachments

        Activity

          People

            David.Hall David Hall (Inactive)
            drrtuy Roman
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.