1. Change partition name size from 1024 to 767 . (mySQL 5.6 and before that supports max 767 length keys)
2. Remove the create txn_write_notification_log table creation from 3.1.0 scripts and add a new scripts for 3.2.0
3. Remove the file 3.1.0-to-4.0.0 and instead add file for 3.2.0-to-4.0.0 and 3.1.0-to-3.2.0
4. Change in metastore init schema xml file to take 4.0.0 instead of 3.1.0 as current version.