Skip to content

Commit

Permalink
fix motherduck checksum_datetime
Browse files Browse the repository at this point in the history
  • Loading branch information
flarco committed Aug 27, 2024
1 parent 2c8371a commit d14949f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbio/templates/motherduck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ analysis:
function:
sleep: select sqlite3_sleep({seconds}*1000)
checksum_datetime: CAST((epoch({field}) || substr(strftime('%f',{field}),4) ) as bigint)
checksum_datetime: CAST((epoch({field}) || substr(strftime({field}, '%f'),4) ) as bigint)
checksum_decimal: 'abs(cast({field} as bigint))'
checksum_boolean: 'length({field}::string)'

Expand Down

0 comments on commit d14949f

Please sign in to comment.