Skip to content

Commit

Permalink
[HOTFIX] Fix timestamp format in testcase
Browse files Browse the repository at this point in the history
In UT testcases, there is random failure because of thread local variable in DataTypeUtil. This PR corrected it.

This closes #2007
  • Loading branch information
jackylk committed Feb 27, 2018
1 parent 37080e9 commit c738afb
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -726,6 +726,8 @@ private static String parseStringToBigDecimal(String value, ColumnSchema columnS
*/
public static void setDataTypeConverter(DataTypeConverter converterLocal) {
converter = converterLocal;
timeStampformatter.remove();
dateformatter.remove();
}

public static DataTypeConverter getDataTypeConverter() {
Expand Down

0 comments on commit c738afb

Please sign in to comment.