会员
周边
新闻
博问
融资
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
乌云散尽
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2021年10月28日
oracle14 maven不能安装问题
摘要: https://blog.csdn.net/qq_41874235/article/details/110090499 出现这个问题:Unknown lifecycle phase ".oracle". 所有值加引号就可以 mvn install:install-file -DgroupId="co
阅读全文
posted @ 2021-10-28 13:38 堕落先锋
阅读(110)
评论(0)
推荐(1)
编辑
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 堕落先锋
阅读(264)
评论(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 堕落先锋
阅读(159)
评论(0)
推荐(0)
编辑
2021年8月9日
SpringBoot配置文件的加载方式
摘要: 方式一 /** 将配置文件中配置的每一个属性的值,映射到这个组件中 @ConfigurationProperties:告诉SpringBoot将本类中的所有属性和配置文件中相关的配置进行绑定; prefix = "person":配置文件中哪个下面的所有属性进行一一映射 只有这个组件是容器中的组件,
阅读全文
posted @ 2021-08-09 17:16 堕落先锋
阅读(826)
评论(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 堕落先锋
阅读(82)
评论(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 堕落先锋
阅读(283)
评论(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 堕落先锋
阅读(417)
评论(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 堕落先锋
阅读(1984)
评论(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 堕落先锋
阅读(626)
评论(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 堕落先锋
阅读(2499)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
9
下一页
公告