McLaren driver Oscar Piastri set the benchmark in the rain-interrupted second one-hour session with the majority of the field having elected to stay in the pits in the tough conditions.