会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
行勝於言
行勝於言desc
博客园
首页
新随笔
联系
订阅
管理
2024年12月10日
mac 如何安装 Homebrew
摘要: 方法一:brew官网的安装脚本 执行命令: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 这个方法试过了,失败 方法二: brew 镜像安装脚本 执行
阅读全文
posted @ 2024-12-10 17:01 水木青楓
阅读(145)
评论(0)
推荐(0)
2023年8月30日
python selenium报错ValueError: Timeout value connect was <...>, but it must be an int, float or None.
摘要: 最近学习爬虫,安装selenium,很简单地执行代码,但是一直报错。 ``` import time import openpyxl from selenium import webdriver from selenium.webdriver.common.keys import Keys from
阅读全文
posted @ 2023-08-30 15:24 水木青楓
阅读(3743)
评论(0)
推荐(1)
2021年12月21日
mysql使用自定义序列实现row_number功能
摘要: 看了一些文章,终于知道该怎么在 mysql 里面实现 row_number() 排序 话不多说,show you the code: 第一步:建表: create table grades( `name` varchar(10), `subject` varchar(10), `score` int
阅读全文
posted @ 2021-12-21 17:15 水木青楓
阅读(1457)
评论(6)
推荐(2)
2021年6月22日
shell: 循环日期+1
摘要: start_date='20201201' end_date='20201221' while [ "${start_date}" -le "${end_date}" ]; do start_date=`date -d "$start_date" +%Y-%m-%d` echo ${start_da
阅读全文
posted @ 2021-06-22 14:42 水木青楓
阅读(761)
评论(0)
推荐(0)
2021年4月2日
sqoop export 报错:Got exception running Sqoop: org.kitesdk.data.DatasetNotFoundException: Descriptor location does not exist:
摘要: ERROR sqoop.Sqoop: Got exception running Sqoop: org.kitesdk.data.DatasetNotFoundException: Descriptor location does not exist: hdfs://nameservice1/use
阅读全文
posted @ 2021-04-02 16:40 水木青楓
阅读(1116)
评论(0)
推荐(0)
2021年3月30日
git 回滚到执行版本,并推送到远程分支
摘要: 本地分支会滚到指定版本 git reset --hard <commit ID号> 推送到远程分支 git push -f origin master
阅读全文
posted @ 2021-03-30 16:14 水木青楓
阅读(273)
评论(0)
推荐(1)
2021年3月25日
hive表增加字段,并指定字段位置
摘要: 方法: 先增加字段,然后再移动字段。 alter table tbl_1 add columns(col_c string comment'ccc') ; alter table tbl_1 change col_c col_c string comment'cccc' after col_b; 具
阅读全文
posted @ 2021-03-25 16:09 水木青楓
阅读(6851)
评论(0)
推荐(0)
2021年1月29日
微信抢红包架构设计
摘要: 今天在微信看到毕导的视频号,讲了关于微信抢红包的"玄学",在网上找到了那篇文章,转载过来记录一下,有时候分析别人家的产品还是很有意思的。 https://gameinstitute.qq.com/community/detail/104216 以下是转载: 背景:有某个朋友在朋友圈咨询微信红包的架构
阅读全文
posted @ 2021-01-29 10:56 水木青楓
阅读(1197)
评论(0)
推荐(0)
2021年1月11日
如何查看hive表的最新更新时间?
摘要: 查看hive表的最新更新时间: desc formatted [hive_table] 在 location 里面,找到表所在的目录 例如: hdfs://nameservice1/user/hive/warehouse/cmcs_ods.db/ods_bak_t_user_info 只取 /use
阅读全文
posted @ 2021-01-11 17:47 水木青楓
阅读(2520)
评论(0)
推荐(0)
2021年1月8日
python文件中写代码调用另外一个路径的python文件
摘要: python代码里怎么执行另外一个py文件
阅读全文
posted @ 2021-01-08 14:11 水木青楓
阅读(608)
评论(0)
推荐(0)
下一页
公告