Lewis Hamilton finished 0.012s adrift of Mercedes team-mate Valtteri Bottas at the Austrian GP qualifying.