摘要: 建索引:PUT es_latent_buy_brands_frequency { "settings": { "number_of_replicas": 1 , "number_of_shards": 3 }, "mappings": { "doc": { "properties": { "user 阅读全文
posted @ 2020-09-02 20:41 香山上的麻雀 阅读(4224) 评论(0) 推荐(0)
摘要: hive中的case when,有多个条件时,可以这样写: select substr(key,13,2), case when birthday<'1968' then '50up' when birthday<'1978' then '40-50' when birthday<'1983' th 阅读全文
posted @ 2020-08-25 10:46 香山上的麻雀 阅读(3277) 评论(1) 推荐(0)