ClickHouse/docs/en/sql-reference/dictionaries/external-dictionaries
Camilo Sierra b6d84ef5fa
range hashed missing parameters
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)
2022-11-02 15:43:57 +01:00
..
_category_.yml
external-dicts-dict-hierarchical.md add slugs 2022-08-28 10:53:34 -04:00
external-dicts-dict-layout.md range hashed missing parameters 2022-11-02 15:43:57 +01:00
external-dicts-dict-lifetime.md Merge pull request #40295 from cyber-moon/patch-1 2022-09-04 04:57:30 +03:00
external-dicts-dict-polygon.md Fix Polygon dict xml config 2022-10-28 18:47:32 +04:00
external-dicts-dict-sources.md add slugs 2022-08-28 10:53:34 -04:00
external-dicts-dict-structure.md add slugs 2022-08-28 10:53:34 -04:00
external-dicts-dict.md add slugs 2022-08-28 10:53:34 -04:00
external-dicts.md add slugs 2022-08-28 10:53:34 -04:00