2020年8月19日

摘要: 根据自己输入的日期格式,选择对应的code Input Format Code Output Format ddMMyyyy to_date(from_unixtime(UNIX_TIMESTAMP(dt,’ddMMyyyy’))) yyyy-MM-dd dd-MM-yyyy to_date(fro 阅读全文
posted @ 2020-08-19 13:31 jydd 阅读(1196) 评论(0) 推荐(0) 编辑

2020年7月21日

摘要: 1,hive架构 1)client,客户端 2)Driver:驱动器 3)解析器,编译器,优化器,执行器 4)底层默认使用mr作为数据处理引擎 5)元数据,通常配置mysql来存储,这样支持多个客户端的访问 2,hive和传统数据库的比较 相同之处:都拥有类似的查询语言 不同之处: 1)数据存储位置 阅读全文
posted @ 2020-07-21 18:41 jydd 阅读(127) 评论(0) 推荐(0) 编辑
摘要: nohup nohup 命令运行由 Command参数和任何相关的 Arg参数指定的命令,忽略所有挂断(SIGHUP)信号。在注销后使用 nohup 命令运行后台中的程序。要运行后台中的 nohup 命令,添加 & ( 表示“and”的符号)到命令的尾部。 nohup 是 no hang up 的缩 阅读全文
posted @ 2020-07-21 17:21 jydd 阅读(87) 评论(0) 推荐(0) 编辑

2018年9月14日

摘要: https://blog.csdn.net/zoubf/article/details/79007908 主要参考了这个blog 才完成所有的配置,很好的参考资料 阅读全文
posted @ 2018-09-14 11:52 jydd 阅读(100) 评论(0) 推荐(0) 编辑

2018年9月11日

摘要: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmet 阅读全文
posted @ 2018-09-11 14:14 jydd 阅读(88) 评论(0) 推荐(0) 编辑
摘要: Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0. 以上 阅读全文
posted @ 2018-09-11 10:33 jydd 阅读(63) 评论(0) 推荐(0) 编辑

2018年9月10日

摘要: You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl 阅读全文
posted @ 2018-09-10 11:26 jydd 阅读(69) 评论(0) 推荐(0) 编辑

2018年9月3日

摘要: An array is monotonic if it is either monotone increasing or monotone decreasing. An array A is monotone increasing if for all i <= j, A[i] <= A[j]. A 阅读全文
posted @ 2018-09-03 15:16 jydd 阅读(96) 评论(0) 推荐(0) 编辑

2018年8月31日

摘要: Given a non-empty array of digits representing a non-negative integer, plus one to the integer. The digits are stored such that the most significant d 阅读全文
posted @ 2018-08-31 16:08 jydd 阅读(76) 评论(0) 推荐(0) 编辑
摘要: Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do not allocate extra space for another ar 阅读全文
posted @ 2018-08-31 12:08 jydd 阅读(83) 评论(0) 推荐(0) 编辑

导航