mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
dbms: OLAP compatibility: multiple categories [#CONV-8848].
This commit is contained in:
parent
2b1cacd0f0
commit
a997258e26
@ -403,13 +403,13 @@ void QueryConverter::fillNumericAttributeMap()
|
||||
M("RegionCity", "regionToCity(RegionID)")
|
||||
M("RegionArea", "regionToArea(RegionID)")
|
||||
M("RegionCountry", "regionToCountry(RegionID)")
|
||||
M("URLRegionID", "URLRegionID")
|
||||
M("URLRegionCity", "regionToCity(URLRegionID)")
|
||||
M("URLRegionArea", "regionToArea(URLRegionID)")
|
||||
M("URLRegionCountry", "regionToCountry(URLRegionID)")
|
||||
M("URLCategoryID", "URLCategoryID")
|
||||
M("URLCategoryMostAncestor", "categoryToRoot(URLCategoryID)")
|
||||
M("URLCategorySecondLevel", "categoryToSecondLevel(URLCategoryID)")
|
||||
M("URLRegionID", "URLRegions[0]")
|
||||
M("URLRegionCity", "regionToCity(URLRegions[0])")
|
||||
M("URLRegionArea", "regionToArea(URLRegions[0])")
|
||||
M("URLRegionCountry", "regionToCountry(URLRegions[0])")
|
||||
M("URLCategoryID", "URLCategories[0]")
|
||||
M("URLCategoryMostAncestor", "categoryToRoot(URLCategories[0])")
|
||||
M("URLCategorySecondLevel", "categoryToSecondLevel(URLCategories[0])")
|
||||
M("TraficSourceID", "TraficSourceID")
|
||||
M("IsNewUser", "FirstVisit == StartTime")
|
||||
M("UserNewness", "intDiv(toUInt64(StartTime)-toUInt64(FirstVisit), 86400)")
|
||||
|
Loading…
Reference in New Issue
Block a user