摘要:
Hive本身并没有replace方法,但是提供了以下两个函数可以实现replace的类似功能 1、translate 函数 使用#字符替换逗号 select translate('hello world, this is a function, test in Hive', ',','#'); 运行 阅读全文
摘要:
grafana是一款采用go语言编写的开源的度量分析和可视化的工具,官网:https://grafana.com/ 官方的定位表达:Used by thousands of companies to monitor everything from infrastructure, applicatio 阅读全文
摘要:
直接上例子了,查询近一周TOP20的订单商品。 mysql> select (@ii:= @ii+1) as "序号", otmp.* from (select sku_id as "SKU_ID",count(*) as "数量" from order where order_time BETWE 阅读全文