在公司用Hive实现个规则的时候,遇到了要查询某个字段是否在另一张表中,大概情况就是 A表: | id | value1 | value2 | | | : | | | 1 | 100 | 0 | | 2 | 101 | 1 | | 3 | 102 | 1 | B表: | value1 | | | | ...
分类:
其他好文 时间:
2020-01-27 18:55:28
阅读次数:
433
   create table tbluser ( id number(8) primary key, username VARCHAR2(100) not null, sex VARCHAR2(2) default '男', age number(3), companyaddres ...
分类:
数据库 时间:
2020-01-27 18:54:14
阅读次数:
80
1 // STL(标准模板库),由三大部分组成:容器,算法,迭代器 2 3 4 // STL六大组件:container(容器),algorthm(算法),iterator(迭代器) 5 // function object(仿函数),adaptor(适配器),allocator(空间适配器) 6 ...
分类:
其他好文 时间:
2020-01-27 18:54:01
阅读次数:
71
  1.2 给应用程序用的:程序接口(系统调用) 系统调用:是操作系统提供给应用程序(程序员、编程人员)使用的接口,可以理解为一种可供应用程序调用的特殊函数,应用程序可以通过系统调用来请求获得操作系统 ...
分类:
其他好文 时间:
2020-01-27 18:51:02
阅读次数:
55
广度优先搜索(Breadth First Search, BFS) BFS算法实现的一般思路为: // BFS void BFS(int s){ queue<int> q; // 定义一个队列 q.push(s); // 队首元素入队 while (!q.empty()){ // 取出队首元素top ...
分类:
其他好文 时间:
2020-01-27 18:50:43
阅读次数:
68
AcWing 790.数的三次方根 题目描述 给定一个浮点数n,求它的三次方根。 输入格式 共一行,包含一个浮点数n。 输出格式 共一行,包含一个浮点数,表示问题的解。 注意,结果保留6位小数。 数据范围 ?10000≤n≤10000 输入样例 ~~~~ 1000.00 ~~~~ 输出样例 ~~~~ ...
最近家庭聚会也真不少,为啥做题这么应景... 水题,加上集合的利用,并查集 ...
分类:
其他好文 时间:
2020-01-27 18:50:08
阅读次数:
68
Map创建 创建Map: var map1 = {"first":"Dart",1:true,true:"2"}; 创建不可变Map: var map2 = const{"first":"Dart",1:true,true:"2"};构造创建:var map3 = new Map(); 常用操作 [ ...
分类:
编程语言 时间:
2020-01-27 18:49:54
阅读次数:
291