I'm studying multi variable calculus, we are researching about cylinders. And my teacher says that there are not only cylinders with a circular base, that there can be cylinders with a triangular base (which according to me are prisms) or open cylinders (defined by $z = x ^ 2$ for example).
Is this info correct?

Yes it is a cylinder (i.e. a cylindrical surface) with the parabola $z=x^2$ as right section (directrix) traced out along $y$ axis (generatrix).
image credit