Merge branch 'master' into hssqlppp
commit
d33dcbe33c
|
@ -130,8 +130,8 @@ factTablePopulateSQL popMode fact = do
|
|||
timeUnitColumnInsertSQL cName =
|
||||
let colName = timeUnitColumnName dimIdColName cName settingTimeUnit
|
||||
in ( colName
|
||||
, "extract(epoch from " <> fullColumnName fTableName cName <> ")::bigint/"
|
||||
<> Text.pack (show $ timeUnitToSeconds settingTimeUnit)
|
||||
, "floor(extract(epoch from " <> fullColumnName fTableName cName <> ")/"
|
||||
<> Text.pack (show $ timeUnitToSeconds settingTimeUnit) <> ")::bigint"
|
||||
, True
|
||||
)
|
||||
dimIdColumnInsertSQL cName =
|
||||
|
|
Loading…
Reference in New Issue