Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-1871

UPDATE STATS fails with error 2006 when default charset is UTF8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3-incubating, 2.0-incubating
    • 2.0-incubating
    • sql-cmu
    • None
    • All

    Description

      When the default character set is set to UTF8 (for example, by setting the value 'UTF8" for default 'DEFAULT_CHARSET' in the system defaults table, or by issuing CQD DEFAULT_CHARSET 'UTF8'), UPDATE STATS may fail with an assertion error 2006 when done on a table that already has statistics.

      A workaround is known: First clear the statistics (by doing UPDATE STATISTICS FOR TABLE table-name CLEAR before generating new statistics.

      Attachments

        Activity

          People

            dbirdsall Dave Birdsall
            dbirdsall Dave Birdsall
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: