1.refactor statistics functions withSel/updateRowCountOnly/withRowCount, 2. donot use Double.MAX in stats estimation 3. dateLikeType.rangeLength() do not throw DateTimeException.
1.refactor statistics functions withSel/updateRowCountOnly/withRowCount, 2. donot use Double.MAX in stats estimation 3. dateLikeType.rangeLength() do not throw DateTimeException.