Uploaded image for project: 'Apache Trafodion'
  1. Apache Trafodion
  2. TRAFODION-3024

function lower() return null for varchar column when pcode is disabled.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: any
    • Component/s: sql-general
    • Labels:
      None

      Description

      create table d1(c1 char(10), c2 varchar(10));

      insert into t1 values('sdf', 'abc'),('CDE','EFG');

      cqd pcode_opt_level 'off';

      >>select lower(c2) from d1;

      (EXPR)
      ----------

       

      — 2 row(s) selected.

        Attachments

          Activity

            People

            • Assignee:
              andyyangcn Yang, Yongfeng
              Reporter:
              andyyangcn Yang, Yongfeng
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: