@Override
  @Deprecated
  public List<FieldSchema> get_schema_with_environment_context(String db, String tableName,
                                                               final EnvironmentContext envContext)
      throws MetaException, UnknownTableException, UnknownDBException {
    String[] parsedDbName = parseDbName(db, conf);
    GetSchemaRequest req = new GetSchemaRequest(parsedDbName[DB_NAME], tableName);
    req.setCatName(parsedDbName[CAT_NAME]);
    req.setEnvContext(envContext);
    return get_schema_req(req).getFields();
  }
Return the schema of the table. This function includes partition columns
in addition to the regular columns.

@param db
         Name of the database
@param tableName
         Name of the table
@param envContext
         Store session based properties
@return List of columns, each column is a FieldSchema structure
@throws MetaException
@throws UnknownTableException
@throws UnknownDBException
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java