Sugar in urine

Has anyone had sugar in their urine and not had gestational diabetes? I go for my glucose test in 3 weeks but they found some sugar in my urine last week. Doctor said to just watch how much sugar I was eating (I didn’t have sugar prior to going to the doctor which was why she was a little concerned). So just wanted to see if this has happened to anyone and they didn’t have GD?