Carbon has an electronegativity of 2.55. Oxygen has an electronegativity of 3.44. Oxygen - Carbon = 3.44 - 2.55 = 0.89.
The electronegativity table tells us that a 0.89 difference in electronegativity should form a polar covalent bond.