Skip to content

Commit

Permalink
Fix col version change (#612)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhexuany authored Mar 27, 2019
1 parent 52f2b49 commit ce6e612
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected Timestamp decodeNotNull(int flag, CodecDataInput cdi) {

@Override
public DateTime getOriginDefaultValueNonNull(String value, long version) {
if (version == DataType.COLUMN_VERSION_FLAG) {
if (version >= DataType.COLUMN_VERSION_FLAG) {
LocalDateTime localDateTime =
Converter.strToDateTime(value, UTC_TIME_FORMATTER)
.withZone(DateTimeZone.getDefault())
Expand Down

0 comments on commit ce6e612

Please sign in to comment.