Merge branch 'master' into hssqlppp

pull/1/head
Abhinav Sarkar 2016-01-19 01:07:25 +05:30
commit d33dcbe33c
1 changed files with 2 additions and 2 deletions

View File

@ -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 =