No, sugar is optional in the pickling liquid. It is used to balance out the acidity of the vinegar, but if you prefer a more tangy pickle, you can reduce or omit the sugar.