上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 39 下一页
摘要: #!/bin/bash # ref: https://blog.csdn.net/spch2008/article/details/51433353 token(){ pid=$1 # 判断是否有传入pid if [ -z "${pid}" ] then echo "please input pid" exit 1 fi... 阅读全文
posted @ 2019-07-26 17:53 chenzechao 阅读(1168) 评论(0) 推荐(0)
摘要: -- 将字段去重并合并 select concat_ws(',',collect_set(cast(id as string))) as wm from ( select 1 as id union all select 1 as id union all select 1 as id union all select 2 as id union a... 阅读全文
posted @ 2019-07-22 18:01 chenzechao 阅读(623) 评论(0) 推荐(0)
摘要: 使用rz命令时,添加 -be选项并且不勾选Upload files as ASCII选项,这样就可以确保上传文件的正确上传 ref:https://blog.csdn.net/wudishine/article/details/44151971 阅读全文
posted @ 2019-07-22 15:09 chenzechao 阅读(629) 评论(0) 推荐(0)
摘要: WIN11 可以使用这个安装 win11子系统ubantu之wsl安装docker_Today丶的博客-CSDN博客 2,更新系统软件 $ sudo apt-get update 3,安装依赖包 $ sudo apt-get install \ apt-transport-https \ ca-ce 阅读全文
posted @ 2019-07-21 12:52 chenzechao 阅读(1880) 评论(0) 推荐(0)
摘要: Usage(){ cat <<EOF Usage: $0 [tenant] $0 (Run database table check_table_data_config all tenants) $0 DB_NAME (Run database table check_table_data_conf 阅读全文
posted @ 2019-07-17 09:06 chenzechao 阅读(4671) 评论(0) 推荐(0)
摘要: 支持BCompare 4.2.3 32位,亲测可用 w4G-in5u3SH75RoB3VZIX8htiZgw4ELilwvPcHAIQWfwfXv5n0IHDp5hv 1BM3+H1XygMtiE0-JBgacjE9tz33sIh542EmsGs1yg638UxVfmWqNLqu- Zw91XxNE 阅读全文
posted @ 2019-07-10 18:00 chenzechao 阅读(4172) 评论(0) 推荐(1)
该文被密码保护。 阅读全文
posted @ 2019-07-09 15:49 chenzechao 阅读(1) 评论(0) 推荐(0)
摘要: 通过 spark.read.csv读取CSV文件时,遇到 到 ArrayIndexOutOfBoundsException报错,初步判断是缺少参数导致,放百度看看,没找引起问题相关的参数。 第一个看到的可能是null值导致,以前的字段也有空值,但无此问题啊。 另有说是paranamer包太旧与JDK 阅读全文
posted @ 2019-07-02 10:06 chenzechao 阅读(2555) 评论(0) 推荐(0)
摘要: 当spark取出表的scheme中,类型名为tinyint的字段,会被处理为Boolean型。而mysql中tinyint的sqlType都会默认处理为bit,所以如果数据库中的这类字段中,存储了0、1之外的值,拉取数据时则会出现数据失真。 处理方式: 在JDBC的URL中加入参数:tinyInt1 阅读全文
posted @ 2019-06-19 22:54 chenzechao 阅读(657) 评论(0) 推荐(0)
摘要: 数据库是面向事务的设计,数据仓库是面向主题设计的。 数据库一般存储在线交易数据,数据仓库存储的一般是历史数据。 数据库设计是尽量避免冗余,一般采用符合范式的规则来设计,数据仓库在设计是有意引入冗余,采用反范式的方式来设计。 数据库是为捕获数据而设计,数据仓库是为分析数据而设计,它的两个基本的元素是维 阅读全文
posted @ 2019-06-18 09:59 chenzechao 阅读(2598) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 39 下一页