You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "zhangxiong (JIRA)" <ji...@apache.org> on 2017/02/08 07:40:41 UTC

[jira] [Created] (RANGER-1364) MySQLPLRunner take wrong start index when traverse then resultSet metadata

zhangxiong created RANGER-1364:
----------------------------------

             Summary: MySQLPLRunner take wrong start index when traverse then resultSet metadata
                 Key: RANGER-1364
                 URL: https://issues.apache.org/jira/browse/RANGER-1364
             Project: Ranger
          Issue Type: Bug
          Components: admin
    Affects Versions: Ranger
            Reporter: zhangxiong


when we install the admin,the dba_script.py would call MySQLRunner to run some sqls from file or input string.But MySQLRunner take wrong start index when traverse then resultSet colname.According to jdbc specification,we should get the rs first column name with index 1 NOT 0. But take 0 as start index is what ranger does.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)