会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DeusJin
博客园
首页
新随笔
联系
订阅
管理
2021年8月27日
The C compiler "/usr/bin/cc" is not able to compile a simple test program.【Clion安装后无法运行c++程序】
摘要: sudo xcodebuild -license
阅读全文
posted @ 2021-08-27 17:18 DeusJin
阅读(1376)
评论(0)
推荐(0)
2021年7月23日
查看一个表有多少列
摘要: select count(*) from information_schema.COLUMNS where TABLE_SCHEMA='库名' and table_name='表名'
阅读全文
posted @ 2021-07-23 11:24 DeusJin
阅读(247)
评论(0)
推荐(0)
2021年7月18日
Java 接口的默认方法【扩展静态方法,接口默认方法多继承的解决方案】
摘要: 1、什么是默认方法? 1.Java 8 的新特性 2.默认方法就是接口可以有实现方法,而且不需要实现类去实现其方法。 3.我们只需在方法名前面加个 default 关键字即可实现默认方法。 4.只能用在接口中 5.默认方法优于抽象方法 2、为什么需要默认方法? 1.举一个很现实的例子: 我们的接口老
阅读全文
posted @ 2021-07-18 15:01 DeusJin
阅读(870)
评论(0)
推荐(0)
2021年7月15日
SQL 报错 Unable to create temp file for insert values Expression of type TOK_FUNCTION not supported in insert/values
摘要: 原SQL: INSERT OVERWRITE TABLE dm_homed.dushilong_ultraman PARTITION (date = '${date}') VALUES (1001, 'Tiga', ARRAY('DaiGo'), 'Spark_prism', ARRAY('zepi
阅读全文
posted @ 2021-07-15 10:48 DeusJin
阅读(920)
评论(0)
推荐(0)
2021年7月2日
mac rar 解压 【转载】
摘要: https://zhuanlan.zhihu.com/p/39753134 unrar x a.rar unrar x a.rar ~/Downloads
阅读全文
posted @ 2021-07-02 13:52 DeusJin
阅读(64)
评论(0)
推荐(0)
2021年6月29日
hive 中 创建函数【临时和永久】以及删除函数
摘要: 转载 https://www.cnblogs.com/wh984763176/p/13215452.html
阅读全文
posted @ 2021-06-29 20:03 DeusJin
阅读(958)
评论(0)
推荐(0)
2021年6月22日
HIVE----count(distinct ) over() 无法使用解决办法【转载】
摘要: 解决方法: collect_set(a) over(partition by b)函数将合并成一个分好组的集合 然后求出集合的值个数 因为collect_set()不能放入重复函数所以使用size()求集合元素数量时能达到count(distinct )的效果 size(collect_set(a)
阅读全文
posted @ 2021-06-22 17:27 DeusJin
阅读(481)
评论(0)
推荐(0)
2021年6月21日
Linux 服务器时间校准【转载】
摘要: Vigo's Blog 首页 标签 分类 归档 Linux服务器如何进行时间校对? 发表于 2019-09-24 分类于 运维 本文介绍了在linux环境下,4种校对时间的方式,精度和自动化程度逐渐加强,总有一款适合你。 背景 计算机时间不是精确的时间,服务器环境对时间有不同程度的精度要求,需要校验
阅读全文
posted @ 2021-06-21 17:01 DeusJin
阅读(2423)
评论(0)
推荐(0)
2021年6月17日
Hive取非Group by字段数据的方法【转载】
摘要: 遇到这么一个需求,输入数据为一个ID对应多个name,要求输出数据为ID是唯一的,name随便取一个就可以。 执行以下hive ql语句: SELECT sid, class_id FROM table2 GROUP BY sid ; 会报错: FAILED: Error in semantic a
阅读全文
posted @ 2021-06-17 16:42 DeusJin
阅读(500)
评论(0)
推荐(0)
2021年6月16日
mysql5.7 centos 7.*:libaio.so.1()(64bit) is needed by mysql-community-server-5.7.24-1.el7.x86_64 (转载)
摘要: mysql5.7 centos 7.* 安装报错, 解决:yum install libaio
阅读全文
posted @ 2021-06-16 11:34 DeusJin
阅读(226)
评论(0)
推荐(0)
下一页
公告