利用Spark往Hive中存储parquet数据,针对一些复杂数据类型如map、array、struct的处理遇到的问题?为了更好的说明导致问题 ...
分类:
其他好文 时间:
2020-12-08 12:44:11
阅读次数:
4
# 设置输出结果列对齐 pd.set_option('display.unicode.ambiguous_as_wide',True) pd.set_option('display.unicode.east_asian_width',True) #用来正常显示中文标签 plt.rcParams['f ...
分类:
其他好文 时间:
2020-12-05 10:54:19
阅读次数:
8
本文介绍了如何下载鸿蒙系统源码,如何一次性配置可以编译三个目标平台(Hi3516,Hi3518和Hi3861)的编译环境,以及如何将源码编译为三个目标平台的二进制文件。坑点总结:下载源码基本上没有太多坑,可以很顺利的进行编译源码主要的一个大坑是,默认版本的scons依赖python3.7+,鸿蒙基础编译代码依赖python3,需要安装python3.7+,并和当前系统上的python2.7/pyt
分类:
其他好文 时间:
2020-12-03 11:57:55
阅读次数:
5
Jodd是一个开源的Java工具集,包含一些实用的工具类和小型框架。简单,却很强大!jodd-http是一个轻巧的HTTP客户端。现在我们以一个简单的示例从源码层看看是如何实现的?HttpRequesthttpRequest=HttpRequest.get("http://jodd.org");//1.构建一个get请求HttpResponseresponse=httpRequest.send()
分类:
Web程序 时间:
2020-12-03 11:57:13
阅读次数:
8
HBase读写流程 在网上找了一张图,这个画的比较简单,就拿这个图来说吧。 写流程 1.当Client发起一个Put请求时,首先访问Zookeeper获取hbase:meta表。 2.从hbase:meta表查询即将写入数据的Region位置。 3.Client向目标RegionServer发出写命 ...
分类:
其他好文 时间:
2020-12-02 12:39:17
阅读次数:
7
一、报错信息 Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.” 二、出现原因 redis连接输入密码后提示Warning: 。。。 三、解决方法 htt ...
分类:
其他好文 时间:
2020-12-02 12:20:45
阅读次数:
7
一、补充 1. 引入第三方库(bootstrap为例) a. MDN 引入 在index.html中直接引入mdn <link rel="stylesheet" href="..." integrity="..." crossorigin="anonymous"> <script src="..." ...
分类:
其他好文 时间:
2020-11-30 16:05:48
阅读次数:
5
例如,我们要访问 info 对象的 animal 的 reptile 的 tortoise。但是我们不确定 animal,reptile是否存在,因此我们需要这样写: const tortoise = info.animal && info.animal.reptile && info.animal ...
分类:
其他好文 时间:
2020-11-30 16:02:30
阅读次数:
5
data[{name:'aa',age:18},{name:'lisi',age:100},{name:'zhangsan',age:80}] html <div class='layui-col-md3'> <label class="layui-form-label">帅哥信息</label> ...
分类:
其他好文 时间:
2020-11-27 10:52:05
阅读次数:
9
1.Vue插件全局属性以及方法 //引入组件 import ComponentName from url; //定义加载方法 const install= (Vue,option) => { //1.常规方法 //新增插件1 Vue.component('ComponentName',Compone ...
分类:
其他好文 时间:
2020-11-25 13:05:10
阅读次数:
25