Skip to content

Commit

Permalink
Fix PG SQL Syntax issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryshao committed Oct 9, 2024
1 parent 8983b98 commit acdac3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public String softDeleteColumnsByMetalakeId(@Param("metalakeId") Long metalakeId
return "UPDATE "
+ TableColumnMapper.COLUMN_TABLE_NAME
+ " SET deleted_at = floor(extract(epoch from((current_timestamp -"
+ " timestamp '1970-01-01 00:00:00')*1000))"
+ " timestamp '1970-01-01 00:00:00')*1000)))"
+ " WHERE metalake_id = #{metalakeId} AND deleted_at = 0";
}
}

0 comments on commit acdac3f

Please sign in to comment.