会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
乌云散尽
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2021年9月6日
Hive外部表操作alter加载数据,并解决空问题
摘要: CREATE TABLE test1 ( no bigint, tm bigint, val string --p_date string COMMENT 'partition date, yyyyMMdd' ) partitioned by(p_date string COMMENT 'parti
阅读全文
posted @ 2021-09-06 11:23 小人物LOWER
阅读(307)
评论(0)
推荐(0)
2021年8月11日
java.lang.IllegalArgumentException: interface com.mysql.jdbc.JDBC4MySQLConnection is not visible from class loader
摘要: Exception in thread "main" java.lang.ExceptionInInitializerError at szq.main.hbasetohive.HBaseReadTest.main(HBaseReadTest.scala) at sun.reflect.Native
阅读全文
posted @ 2021-08-11 11:16 小人物LOWER
阅读(192)
评论(0)
推荐(0)
2021年8月9日
SpringBoot配置文件的加载方式
摘要: 方式一 /** 将配置文件中配置的每一个属性的值,映射到这个组件中 @ConfigurationProperties:告诉SpringBoot将本类中的所有属性和配置文件中相关的配置进行绑定; prefix = "person":配置文件中哪个下面的所有属性进行一一映射 只有这个组件是容器中的组件,
阅读全文
posted @ 2021-08-09 17:16 小人物LOWER
阅读(836)
评论(0)
推荐(0)
2021年7月27日
hive的内部所有函数,也可以自己实现udf
摘要: --hive笔记: select hex(17),unhex(11) from szq.ods_hbase_to_hive limit 2; --10进制转16进制 select bin(10),hex(18),unhex(11),round(3,14444),conv(14,10,16),abs(
阅读全文
posted @ 2021-07-27 14:36 小人物LOWER
阅读(104)
评论(0)
推荐(0)
HBase过滤器的使用(以防备用)
摘要: 原文链接:https://blog.csdn.net/weixin_43832243/article/details/102746232 BinaryComparator bcf = new BinaryComparator("g".getBytes());//列名是g 开头的所有列 Qualifi
阅读全文
posted @ 2021-07-27 14:34 小人物LOWER
阅读(345)
评论(0)
推荐(0)
2020年11月5日
两个dataframe的差集多字段的做法
摘要: 1、使用了左外连接,如果根据你匹配的字段,匹配的话,就flag标志为1. db_list['flag'] = 1 exc_list['bomcount'] = exc_list['bomcount'].astype('float64')#首先保证列的数据类型一致。 #merge合并两个datafra
阅读全文
posted @ 2020-11-05 11:20 小人物LOWER
阅读(430)
评论(0)
推荐(0)
2020年11月4日
oracle数据库实例没有启动ORA-12154: TNS:could not resolve the connect identifier specified
摘要: 如果报错是ORA-12154: TNS:could not resolve the connect identifier specified考虑数据库实例没有启动 1、直接在登录时输入数据库信息 ip:端口/数据库名 如果可以正常登录了,配置一下环境变量 新建环境变量 1、变量名为:ORACLE_H
阅读全文
posted @ 2020-11-04 14:01 小人物LOWER
阅读(2505)
评论(0)
推荐(1)
2020年6月18日
批量插入oracle数据库数据
摘要: python初学者,方便下次使用的 def insert_oracle(): con = cx_Oracle.connect('test/123456@IP/test', encoding='utf-8') data = pd.read_excel('D:\\path.excel') #对数据进行处
阅读全文
posted @ 2020-06-18 16:48 小人物LOWER
阅读(660)
评论(0)
推荐(0)
python批量修改数据的功能
摘要: import cx_Oracle import pandas as pd import random import numpy as np oracle数据库update时候不能使用%s做占位符 def update_oracle(): conn = cx_Oracle.connect('test/
阅读全文
posted @ 2020-06-18 14:33 小人物LOWER
阅读(2586)
评论(0)
推荐(0)
2020年6月4日
zTree看别人的代码理解
摘要: <div> <ul id="permissionTree" class="ztree"></ul> </div> <script src="${APP_PATH}/ztree/jquery.ztree.all-3.5.min.js"></script> <script type="text/java
阅读全文
posted @ 2020-06-04 17:08 小人物LOWER
阅读(106)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告