上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 56 下一页

2019年1月9日

摘要: 1.时间戳 秒数时间戳--10位 hive只支持10位的时间戳 毫秒时间戳--13位 时间-->时间戳(13位),乘以 1000 13位时间戳-->日期(除以1000) (1)时间戳(10位)-》日期:from_unixtime select from_unixtime(1441565203,'yy 阅读全文
posted @ 2019-01-09 17:56 happygril3 阅读(162) 评论(0) 推荐(0)
摘要: 1. 全局排序 order by 对输入做全局排序,因此只有一个reducer。 select ymd,symbol,price_close from stocks oreder by symbol DESC select ymd,symbol,2*price_close as salary fro 阅读全文
posted @ 2019-01-09 10:02 happygril3 阅读(114) 评论(0) 推荐(0)

2019年1月6日

摘要: (二)WHERE //where不单独使用,与match,optional match,start,with搭配 where 与match,optional match 一起用,表示约束 where 与start,with一起用,表示过滤create(andres:Swedish{name:"And 阅读全文
posted @ 2019-01-06 11:35 happygril3 阅读(114) 评论(0) 推荐(0)
摘要: (二)WHERE //where不单独使用,与match,optional match,start,with搭配 where 与match,optional match 一起用,表示约束 where 与start,with一起用,表示过滤create(andres:Swedish{name:"And 阅读全文
posted @ 2019-01-06 10:33 happygril3 阅读(385) 评论(0) 推荐(0)
摘要: //与match区别:如果没有匹配到,返回NULLCREATE (olive:Person {name:'Olive Stone'}),(charlie:Person {name:'Charlie Sheen'}),(michael:Person {name:'Michael Douglas'}), 阅读全文
posted @ 2019-01-06 10:32 happygril3 阅读(101) 评论(0) 推荐(0)
摘要: //清空数据match (n) detach delete n (一)查询节点1.查询所有节点 //查询数据库中的所有节点 match(n)return n 2.查询带有某个标签的所有节点 //查询数据库中的所有电影 match(movie:Movie)return movie.title 3.查询 阅读全文
posted @ 2019-01-06 09:36 happygril3 阅读(652) 评论(0) 推荐(0)

2019年1月5日

摘要: https://www.cnblogs.com/zhengshiqiang47/p/8488490.html 一,Node语法 1,() 代表匹配任意一个节点 2, (node1) 代表匹配任意一个节点,并给它起了一个别名 3, (:Lable) 代表查询一个类型的数据 4, (person:Lab 阅读全文
posted @ 2019-01-05 20:57 happygril3 阅读(277) 评论(0) 推荐(0)

2018年12月29日

摘要: .打开电脑 在电脑桌面上 右击 我的电脑 选择属性 2.在我的电脑属性中 左侧 点击 高级系统设置 3.弹出 系统属性对话框 4. 点击 环境变量 在系统变量中找到 path 编辑 5.弹出编辑系统变量的对话框 将你的路径拷贝到里面即可(注意要加分号) C:\Users\dell3010\Anaco 阅读全文
posted @ 2018-12-29 11:39 happygril3 阅读(95) 评论(0) 推荐(0)

2018年12月27日

摘要: 一、背景 1、当进程在进行远程通信时,彼此可以发送各种类型的数据,无论是什么类型的数据都会以二进制序列的形式在网络上传送。 发送方需要把对象转化为字节序列才可在网络上传输,称为对象序列化; 接收方则需要把字节序列恢复为对象,称为对象的反序列化。 2、Hive的反序列化是对key/value反序列化成 阅读全文
posted @ 2018-12-27 15:00 happygril3 阅读(398) 评论(0) 推荐(0)
摘要: 一、背景 1、在Hive Select查询中一般会扫描整个表内容,会消耗很多时间做没必要的工作。有时候只需要扫描表中关心的一部分数据,因此建表时引入了partition概念。 2、分区表指的是在创建表时指定的partition的分区空间。 3、如果需要创建有分区的表,需要在create表的时候调用可 阅读全文
posted @ 2018-12-27 14:08 happygril3 阅读(584) 评论(0) 推荐(0)
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 56 下一页

导航