Skip to content

Commit

Permalink
Merge pull request #9171 from ministryofjustice/ELM-3031_Partitioned_…
Browse files Browse the repository at this point in the history
…DV_Job_v15

partitioned_parquet_output_data_validation - 2012 - 2
  • Loading branch information
madhu-k-sr2 authored Dec 20, 2024
2 parents d923a78 + d51d0f9 commit 65b0958
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ class SQLServer_Extract_Transform:
'AuditDateTime': """
CAST(
CASE
WHEN RIGHT(FORMAT(AuditDateTime, 'fff'), 3) = '000' THEN
FORMAT(AuditDateTime, 'yyyy-MM-dd HH:mm:ss')
WHEN RIGHT(FORMAT(AuditDateTime, 'fff'), 2) = '00' THEN
FORMAT(AuditDateTime, 'yyyy-MM-dd HH:mm:ss.f')
WHEN RIGHT(FORMAT(AuditDateTime, 'fff'), 1) = '0' THEN
Expand Down

0 comments on commit 65b0958

Please sign in to comment.