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

SystemCatalog.getTable("table name") doesn't support uppercase letters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.1.2
    • 1.1.4
    • None
    • None
    • Python, Java, C++ not tested
    • 2018-05, 2018-06

    Description

      Using SystemCatalogTable.getColumn(columnName) fails if using a column name with uppercase letters like "helloWorld". Using the lowercase name works. Tested in Python and Java.

      Same issue for SystemCatalog.getTable(tableName)

      To reproduce:

      In mcsmysql:

      create table tmp1 (v int, c char(3), helloWorld bigint) engine=columnstore;
      

      In Python:

      import pymcsapi
      d = pymcsapi.ColumnStoreDriver()
      c = d.getSystemCatalog()
      t = c.getTable("test", "tmp1")
      col = t.getColumn("v")
      col = t.getColumn("helloWorld")
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
        File "/usr/lib/python2.7/dist-packages/pymcsapi.py", line 284, in getColumn
          return _pymcsapi.ColumnStoreSystemCatalogTable_getColumn(self, *args)
      RuntimeError: test.tmp1.helloWorld not found
      col = t.getColumn("helloworld")
      

      Attachments

        Issue Links

          Activity

            People

              dleeyh Daniel Lee (Inactive)
              jens.rowekamp Jens Röwekamp (Inactive)
              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.