For some string value the max/min might be a very long string which might take too many memory of FE, so we truncate to 1024 chars if it's too long
For some string value the max/min might be a very long string which might take too many memory of FE, so we truncate to 1024 chars if it's too long