Github user anoopsharma00 commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/441#discussion_r61689151
  
    --- Diff: core/sql/exp/exp_eval.cpp ---
    @@ -862,7 +862,17 @@ ex_expr::exp_return_type 
ex_expr::evalClauses(ex_clause *clause,
        atp1->setDiagsArea(diagsArea);
     
           if (retcode == ex_expr::EXPR_ERROR)
    -   return retcode;
    +      {
    +        if((getPCodeMode() & ex_expr::ERROR_CONTINUE) > 0)
    +        {
    +          ExpTupleDesc::setNullValue( op_data[0],
    +                                      
clause->getOperand(0)->getNullBitIndex(),
    +                                      
clause->getOperand(0)->getTupleFormat() );
    +          retcode = ex_expr::EXPR_OK;
    --- End diff --
    
    -- this code also will return back from line #871 on the first conversion 
clause error instead
       of continuing to the next clause.
    -- it will also not work correctly if getPCodeMode() is not  set.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to