用户主题宽表 类似累积事实表 drop table if exists dwt_user_topic; create external table dwt_user_topic ( user_id string comment '用户 id', login_date_first string com ...
分类:
其他好文 时间:
2021-02-26 13:12:24
阅读次数:
0
import pytest from login import login_check datas = [ {"user":'python37', "passwd": 'lemonban', "check": {"code": 0, "msg": "登录成功"} }, {"user":'python ...
分类:
其他好文 时间:
2021-02-26 13:10:21
阅读次数:
0
用户维度表 属于拉链表 应用场景:缓慢变化的表 特点:历史数据和最新数据在一张表中 图解: sql重点:union all , 如何找到并修改旧的end_date insert overwrite table dwd_dim_user_info_his_tmp select * from ( sel ...
分类:
其他好文 时间:
2021-02-25 12:11:02
阅读次数:
0
1、在idea中定义一个User类 1 import lombok.Data; 2 3 @Data 4 public class User { 5 private long id; 6 private String userName; 7 private String password; 8 pri ...
分类:
数据库 时间:
2021-02-25 11:50:11
阅读次数:
0
Vulhub-y0sef靶机通关 安装靶机环境,下载地址:https://www.vulnhub.com/entry/y0usef-1,624/ 网络模式:桥接 目标:user.txt和root.txt 通过查询工具,找到目标ip 访问到页面,首先尝试robots.txt没有任何内容,那么接下来就使 ...
分类:
其他好文 时间:
2021-02-25 11:42:28
阅读次数:
0
public function getAccesstoken(){ $appid = ''; /*小程序appid*/ $srcret = ''; /*小程序秘钥*/ $tokenUrl="https://api.weixin.qq.com/cgi-bin/token?grant_type=clie ...
分类:
微信 时间:
2021-02-24 13:24:26
阅读次数:
0
以管理员身份运行cmd(Windows) cd C:\Program Files\MySQL\MySQL Server 8.0\bin mysql -uroot -proot ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_pas ...
分类:
数据库 时间:
2021-02-24 13:16:05
阅读次数:
0
主要是这两个sql start_log(利用get_json_object函数): insert overwrite table "$app".dwd_start_log PARTITION (dt='$do_date') select get_json_object(line,'$.mid') m ...
分类:
数据库 时间:
2021-02-23 14:36:54
阅读次数:
0
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, ...
分类:
编程语言 时间:
2021-02-23 14:25:55
阅读次数:
0