You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "He Zhenxing (JIRA)" <ji...@apache.org> on 2019/02/21 08:49:00 UTC

[jira] [Created] (TRAFODION-3279) get lob stats fail when mixing lob and normal columns

He Zhenxing created TRAFODION-3279:
--------------------------------------

             Summary: get lob stats fail when mixing lob and normal columns
                 Key: TRAFODION-3279
                 URL: https://issues.apache.org/jira/browse/TRAFODION-3279
             Project: Apache Trafodion
          Issue Type: Bug
          Components: sql-exe
    Affects Versions: any
            Reporter: He Zhenxing
             Fix For: 2.3


When mixing lob and normal columns like this:


{noformat}
>> cqd traf_blob_as_varchar 'off';
>> create table t1 (a int, b blob);
>> create table t2 (a blob, b int, c blob);
{noformat}


try get lob stats will fail with this error:


{noformat}
>> get lob stats for table t1

*** ERROR[4082] Object TRAFODION.SCH."LOBDescChunks__02697841542402152109_0001" does not exist or is inaccessible.

*** ERROR[8822] The statement was not prepared.

--- SQL operation failed with errors.
>>  get lob stats for table t2

*** ERROR[4082] Object TRAFODION.SCH."LOBDescChunks__02697841542402158348_0002" does not exist or is inaccessible.

*** ERROR[8822] The statement was not prepared.

--- SQL operation failed with errors.
{noformat}

It seems it will wrongly treat the normal columns before blob column as a blob column.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)