Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1364

MySQLPLRunner take wrong start index when traverse the resultSet metadata

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 1.0.0
    • admin
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            leslizhang zhangxiong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified