Esempio n. 1
0
 private string lookupValue(Properties tbl, Configuration conf)
 {
     string result = null;
     if (tbl != null)
     {
         result = tbl.getProperty(attribute);
     }
     if (result == null && conf != null)
     {
         result = conf.get(attribute);
         if (result == null)
         {
             result = conf.get(hiveConfName);
         }
     }
     return result;
 }