You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "David Wayne Birdsall (JIRA)" <ji...@apache.org> on 2019/01/15 20:40:00 UTC
[jira] [Work started] (TRAFODION-3256) Missing error return in
Statement::doHiveTableSimCheck
[ https://issues.apache.org/jira/browse/TRAFODION-3256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on TRAFODION-3256 started by David Wayne Birdsall.
-------------------------------------------------------
> Missing error return in Statement::doHiveTableSimCheck
> ------------------------------------------------------
>
> Key: TRAFODION-3256
> URL: https://issues.apache.org/jira/browse/TRAFODION-3256
> Project: Apache Trafodion
> Issue Type: Bug
> Components: sql-exe
> Affects Versions: 2.4
> Reporter: David Wayne Birdsall
> Assignee: David Wayne Birdsall
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> [https://github.com/apache/trafodion/pull/1766] rewrote much of Statement::doHiveTableSimCheck (cli/Statement.cpp). In one of the error cases, an 8577 error is raised but the method still returns SUCCESS. That can cause an infinite loop in the caller, Statement::execute. This error path should contain a "return ERROR" statement.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)