It is quite possible to have traces of sugar in your urine and it may be due to large consumption of sugar on the previous day or in some people there is a low kidney
threshold for sugar where some sugar is spilled in urine in the absence of diabetes
However you must get your blood tested for blood sugar by getting FASTING,PP and HBA1c
Diabetes is said to be present of your fasting sugar is more than 126 and PP is above 200.
Pre diabetes is said to be present if fasting blood sugars are between 100 to 126 and PP between 140 and 200.