(String type, int maxLength, boolean hasRTrim)
| 72 | } |
| 73 | |
| 74 | @ParameterizedTest |
| 75 | @MethodSource("data") |
| 76 | public void testUtf8(String type, int maxLength, boolean hasRTrim) throws Exception { |
| 77 | if (type.equals("varchar")) { |
| 78 | testVarChar(maxLength); |
| 79 | } else { |
| 80 | testChar(maxLength, hasRTrim); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | // copied from HiveBaseChar |
| 85 | public static String enforceMaxLength(String val, int maxLength) { |
nothing calls this directly
no test coverage detected