if its a big scratch it will take hours and hours and youll distort the glass, if its too deep it cant be polished out.
if its a light scratch you can polish it with out any distortion , but theres a fine line between having the glass bevel on you and not.
obviously this has to be done in a dry tank as it takes a polishing compound and is very messy procedure
