Fixed bug in runningDifference function for Date32 type
Official CH changelog text
Fixed a minor bug inside function runningDifference in case of using it with Date32 type. Previously Date was used and it may cause some logical errors like Bad cast from type DB::ColumnVector<int> to DB::ColumnVector<unsigned short>'. #42143 (Alfred Xu).