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

bit operators don't work in WHERE clause

    XMLWordPrintable

Details

    Description

      The bit operators |, ^, <, > don't appear to work in a where clause.

      MariaDB [tpch1]> SELECT cidx,CDECIMAL18_2, CDECIMAL4_2 | 4 from DataTypeTestm where (CDECIMAL4_2 | 4) <> CDECIMAL18_2;
      Empty set (0.039 sec)
       
      MariaDB [tpch1]> SELECT cidx,CDECIMAL18_2, CDECIMAL4_2 | 4 from DataTypeTestm where (CDECIMAL4_2 | 4) < CDECIMAL18_2;
      Empty set (0.035 sec)
       
      MariaDB [tpch1]> SELECT cidx,CDECIMAL18_2, CDECIMAL4_2 | 4 from DataTypeTestm where (CDECIMAL4_2 | 4) > CDECIMAL18_2;
      Empty set (0.033 sec)
       
      MariaDB [tpch1]> SELECT cidx,CDECIMAL18_2, CDECIMAL4_2 | 4 from DataTypeTestm where (CDECIMAL4_2 | 4) = CDECIMAL18_2;
      Empty set (0.052 sec)
      

      At least one of these should evaluate true and return rows.

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              David.Hall David Hall (Inactive)
              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.