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

ALTER TABLE ADD COLUMN ... TIME fails with Internal error

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 6.1.1
    • 6.1.1
    • writeengine
    • None
    • 2021-2

    Description

      Consider the example.

      MariaDB [test]> alter table dtypes add column tm time;
      ERROR 1815 (HY000): Internal error: CAL0001: Alter table Failed:  AlterTableProcessor::addColumn CAL0001: we_readthread caught exception  boost::bad_any_cast: failed conversion using boost::any_cast    
      

      This happens b/c any::boost conversion in WriteEngineWrapper::convertValue() throws an exception trying to cast from int64_t (AKA long in x86_64) into long long.

      Attachments

        Issue Links

          Activity

            People

              dleeyh Daniel Lee (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.