/* 用正则表达式验证一个表格的格式。 如果表格格式合乎要求,程序会输出 "all is well" 到 cout; 否则会将错误消息输出到 cerr。 一个表格由若干行组成,每行包含四个由制表符分隔的字段。 例如: Class Boys Girls Total 1a 12 15 27 1b 16 ...
分类:
其他好文 时间:
2020-08-09 20:21:57
阅读次数:
101
编写脚本实现在指定文件路径下查找文件夹或文件名。 脚本如下: #!/bin/sh # lazy find # GNU All-Permissive License # Copying and distribution of this file, with or without modificatio ...
分类:
系统相关 时间:
2020-08-09 09:19:05
阅读次数:
100
环境:oracle12c 1、常用字典 DBA_xxx All objects in the root or a pluggable database ALL_xxx Objects accessible by the current user in a PDB USER_xxx Objects o ...
分类:
数据库 时间:
2020-08-08 17:46:57
阅读次数:
102
一、系统配置 1、关闭sudo密码 为了避免每次使用sudo命令时都输入密码,我们可以将密码关闭。操作方法: 1、终端输?命令 sudo visudo ,打开 visudo; 2、找到 %sudo ALL=(ALL:ALL) ALL 这??修改为 %sudo ALL=(ALL:ALL) NOPASS ...
分类:
系统相关 时间:
2020-08-08 17:33:00
阅读次数:
152
Kettle巧用公式轻松实现数据抽取(图文并茂,带案例讲解)
分类:
其他好文 时间:
2020-08-08 00:40:05
阅读次数:
93
一. SparkSQL简介 Spark SQL是Spark用于结构化数据(structured data)处理的Spark模块。 Dremel > Drill(Apache) >Impala(Cloudrea) Presto(Hotonworks) Hive > Shark(对Hive的模仿,区别在 ...
分类:
数据库 时间:
2020-08-07 21:45:52
阅读次数:
79
1.写在前面 在开始之前,说明一下该篇中重点在union、intersection、difference、filter的实现,对于Sets类中的其他方法如newHashSet、newConcurrentHashSet、newLinkedHashSet等方法等见名知意,不做介绍。 2.阅读内容 col ...
分类:
其他好文 时间:
2020-08-06 13:14:27
阅读次数:
75
There are n cities connected by m flights. Each flight starts from city u and arrives at v with a price w. Now given all the cities and flights, toget ...
分类:
其他好文 时间:
2020-08-05 10:29:42
阅读次数:
73
针对hive on mapreduce 1:我们可以通过一些配置项来使Hive在执行结束后对结果文件进行合并: 参数详细内容可参考官网:https://cwiki.apache.org/confluence/display/Hive/Configuration+Properties 1 2 3 4 ...
分类:
数据库 时间:
2020-08-03 19:56:21
阅读次数:
103