Uploaded image for project: 'i2b2 Core Software'
  1. i2b2 Core Software
  2. CORE-369

inconsistent naming of column PM_HIVE_PARAMS.domain_id

    XMLWordPrintable

Details

    • Bug
    • Status: New
    • Minor
    • Resolution: Unresolved
    • None
    • TBD
    • None
    • None

    Description

      The column PM_HIVE_PARAMS.domain_id is not the same as the column PM_HIVE_DATA.domain_id ...
      It should be PM_HIVE_PARAMS.domain_name, so that it links to PM_HIVE_DATA.domain_name.

      This bug creates a problem when using global parameters in the class ServiceHandler.java, where domainId is referenced to the DomainName.
      (Or another solution is to change the reference of domainId to the real domain_id instead of the domain_name...)

      {code}
      public String execute() throws I2B2Exception{
         ...
         while (it.hasNext()) {
            ...
            domainId = cType.getDomainName();
         }
         ...
         try {
            ...
            //Get any remaining params from the environment
      for( it=pmDb.getEnvironmentData(domainId).iterator();it.hasNext();){
      HiveParamData hivedata =(HiveParamData)it.next();
      params.put(hivedata.getName(), hivedata.getValue());
      }
            ...
         }
         ...
      }

      Attachments

        Activity

          People

            mem61 Mike Mendis
            koen.janssens@uza.be Koen Janssens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: