发展: hive-cli(hive) 是hive连接hivesever的命令行工具,从hive出生就一直存在,但随着hive功能的增强、bug的修复、版本升级,hive-cli结构的局限性跟不上hive的发展,如果强行更改就不能满足向下兼容,就出现了全新的beeline命令行结构,即就是hive-c ...
分类:
其他好文 时间:
2021-06-19 19:08:02
阅读次数:
0
hive-site.xml添加以下参数: <property> <name>hive.cli.print.current.db</name> <value>true</value> </property> <property> <name>hive.cli.print.header</name> < ...
分类:
数据库 时间:
2021-06-19 19:07:44
阅读次数:
0
进入myql 执行 show variables like 'character%'; 看到如下: 乱码原因,databases编码格式不一致导致的乱码,解决方法如下: 方法一: 执行如下两个命令即可: set character_set_database=utf8; set character_s ...
分类:
其他好文 时间:
2021-06-19 19:06:39
阅读次数:
0
Hive列转行: select school,concat_ws('|',collect_set(name)) as name from tmp_01 group by school; 注意:collect_set 有重复的会去重, collect_list 有重复的不去重 hive行转列: sel ...
分类:
其他好文 时间:
2021-06-19 19:05:46
阅读次数:
0
转自:https://blog.csdn.net/qq_25062299/article/details/95592877 ...
分类:
其他好文 时间:
2021-06-19 19:00:51
阅读次数:
0
获取原生的DOM的方式 <!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <script src="../vue-router.js"></scr ...
分类:
Web程序 时间:
2021-06-19 18:51:18
阅读次数:
0
requests安装 pip install requests requests模拟get请求 response.content 是二进制模式,通常需要转换成UTF-8模式,否则会乱码 #requests模拟get请求、 import requests response=requests.get(' ...
分类:
其他好文 时间:
2021-06-19 18:49:51
阅读次数:
0
HDFS的读取过程 HDFS的读取流程大致有以下几个步骤: (1)客户端通过调用FileSystem对象的open()来打开希望读取的文件。对于HDFS平台来说,这个对象是DistributedFileSystem类的是一个实例,所以实际调用的是DistributedFileSystem对象的ope ...
分类:
其他好文 时间:
2021-06-19 18:42:26
阅读次数:
0
工程结构复杂,不方便查看结构目录怎么办? shell帮你搞定,看看效果 解锁方式(Mac端) 1:通过Homebrew安装tree brew install tree 2、cd到目标目录下,执行tree命令 cd /xxx/x tree /xxx/x 就是这么简单,enjoy it🍺 ...
分类:
系统相关 时间:
2021-06-19 18:41:04
阅读次数:
0
首先安装axios npm install axios --save 在src下新建utils文件夹 再新建request.js文件 //utils->request.js import axios from 'axios' const requests = axios.create({ baseU ...
分类:
移动开发 时间:
2021-06-18 20:13:16
阅读次数:
0