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

Difference in DENSE_RANK?() and ROW_RANKE?()

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Trivial
    • Resolution: Unresolved
    • None
    • Icebox
    • MariaDB Server
    • None
    • Debian 11: Linux 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 unknown GNU/Linux

      MariaDB 10: 10.10.1-MariaDB-1:10.10.1+maria~deb10 mariadb.org binary distribution

    Description

      Hi all

      Today I found out that on Debian 11 there is difference of how MariaDB 10 handles DENSE_RANK and ROW_NUMBER functions in relation to what character follows (space or no space).

      Simple summary:

      DENSE_RANK () # throws syntax error
      DENSE_RANK() # ok
      ROW_NUMBER () # ok
      ROW_NUMBER() # ok

      Error is not consistent.

      It should either:

      • fail for "ROW_NUMBER ()"
      • or not fail for "DENSE_RANK ()"

      Attachments

        Activity

          People

            Unassigned Unassigned
            null_hacker Janez Kranjski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

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