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

Increase size of sort_order column of x_policy_resource_map

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.5.0, 0.6.0, 0.7.0
    • 1.0.0, 0.7.1
    • Ranger
    • None

    Description

      Problem Statement : Currently data type of sort_order column is tinyint which can accept maximum 128 unsigned number; if any policy is having more than 128 resource entries then data truncation error might be generated at DB end and application will not be able to insert entry of any more resources for specific policy.
      Proposed Solution : Change data type of sort_order column of 'x_policy_resource_map' from tinyint to integer(4 byte)

      Attachments

        1. RANGER-1490-master-branch.patch
          9 kB
          Pradeep Agrawal

        Issue Links

          Activity

            People

              pradeep Pradeep Agrawal
              pradeep Pradeep Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: