Extract year from date in spark sql July 8, 2019 16 32 64 128 Extract year and month from date in spark sql