mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 19:45:11 +00:00
b6d84ef5fa
On the query we have missing two options: - `LIFETIME` Is not on the example if you copy paste you will have an Exception `DB::Exception: Cannot create dictionary with empty lifetime.` - `SOURCE` was not mentioned and it's important to link to the main/source table. - There was an error on the `dictGetT` function there was an additional T this function do not exist (I have tested and we need to use `dictGet`). - Also in the Dictionary example we have no extra attribute other than the id and the two dates, and for running the queries and the `dicGet` function you need an additional attribute this is why I have added `advertiser_id` (BTW I use advertiser_id as this was use in the example just before) and also add one example, without the example it was not easy to understand what was the 'attr_name' mentioned before. - I add an example as an user did not knew how to cast the date to a Uint64 (Because most of the time the original/raw dates are defined on the range as Date64, so this example will explain them how to cast when doing the query) |
||
---|---|---|
.. | ||
_category_.yml | ||
external-dicts-dict-hierarchical.md | ||
external-dicts-dict-layout.md | ||
external-dicts-dict-lifetime.md | ||
external-dicts-dict-polygon.md | ||
external-dicts-dict-sources.md | ||
external-dicts-dict-structure.md | ||
external-dicts-dict.md | ||
external-dicts.md |