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