前两天试了下 Flink SQL 写 Hive,对 Sink 部分写数据到 HDFS 的部分比较疑惑,特别是基于 checkpoint 的文件提交,所以看了下 StreamingFileSink 的源码(Flink SQL 写 hive 复用了这部分代码) StreamingFileSink 是 1 ...
分类:
其他好文 时间:
2020-11-01 20:49:03
阅读次数:
18
close all; x=[1,2,3,4,5;4,5,6,7,8;7,8,9,10,11];%生成随机整数矩阵,大小为5X3,范围在1-10中 y=(-2:2)'; figure,plot(x);%x矩阵有5列,所以有五条线,每列三个值,把这三个数连起来 figure,plot(y,x);%y为自 ...
分类:
其他好文 时间:
2020-11-01 20:47:16
阅读次数:
19
--查看当前服务器所有服务 service --status-all -- 查看当前所有正在运行的服务 service --status-all | grep running --查看指定服务运行状态如 httpd service --status-all | grep httpd 或 servic ...
分类:
系统相关 时间:
2020-11-01 10:20:18
阅读次数:
23
variable_names = [v.name for v in tf.all_variables()] values = sess.run(variable_names) for k,v in zip(variable_names, values): print("Variable: ", k) ...
分类:
其他好文 时间:
2020-11-01 09:47:51
阅读次数:
15
1、order by 默认排序方式是升序ASC。降序为DESC。select * from emp order by firstName asc,lastName. 2、UNION与UNION ALL的区别。 Union:对两个结果集进行并集操作,不包括重复行,同时进行默认规则的排序; Union ...
分类:
数据库 时间:
2020-10-31 01:08:48
阅读次数:
24
#删除7天前已经备份的归档日志 delete noprompt archivelog all completed before 'sysdate - 7'; #备份没有备份的归档日志 backup archivelog all not backed up; #不备份已经备份1次的归档日志 backu ...
分类:
其他好文 时间:
2020-10-30 12:13:54
阅读次数:
21
You are given a sorted unique integer array nums. Return the smallest sorted list of ranges that cover all the numbers in the array exactly. That is, ...
分类:
其他好文 时间:
2020-10-30 11:55:20
阅读次数:
20
You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin ...
分类:
其他好文 时间:
2020-10-27 11:41:41
阅读次数:
23
ZIP归档可以把一个或多个文件压缩成占用空间更小的单一文件。当你想释放硬盘空间,或者需要通过邮件和《信息》发送多个文件时,ZIP的重要性不言而喻。macOS的《访达》内置了ZIP压缩功能,使用方法非常简单。下面就来看看它的基本用法,以及一些进阶功能。一键压缩文件压缩单个文件或文件夹时,按住Control点按该文件,然后在弹出菜单中选择压缩即可。压缩后的归档文件与原文件同名,但带有.zip后缀。解压
分类:
其他好文 时间:
2020-10-27 11:25:10
阅读次数:
33
select * from all_col_comments; //所有的数据库表的注释 select * from all_tables; //所有用户下所有的表 及表的属性 select * from user_col_comments; //当前用户下数据库表的注释 select * from ...
分类:
数据库 时间:
2020-10-22 23:01:29
阅读次数:
31