rank() , dense_rank() , row_number() 这三个函数都是的作用 为每条数据产生一个从1到N 的自然数, 区别就是 碰到相同数据时的排序rank() : 遇到相同数据时排序是一样的, 但是在下一条数据会空出N个来, 例如有三个第一名,下一个就是第四名。 dense_ra...
分类:
其他好文 时间:
2015-06-10 14:03:50
阅读次数:
688
By now, you‘ve probably noticed that most container objects can looped over using a?for?statement: 现在你可能注意到大多数容器对象都可以用?for?遍历: ? for?element?in?[1,?2,?3]:
????p...
分类:
编程语言 时间:
2015-06-10 12:37:01
阅读次数:
154
Create: 2012-12-24 Update: 2012-12-27 参考: http://blog.christophersmart.com/articles/openldap-how-to-fedora/ 概述 测试环境 CentOS 6.3 domain: gdu.me LDAP server: ldap.gdu.me DEVICE="eth1"
BOOTPRO...
分类:
其他好文 时间:
2015-06-09 12:05:59
阅读次数:
279
题目描述:
It is said that in 2011, there are about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if you could write a program to automate ...
分类:
其他好文 时间:
2015-06-09 09:53:36
阅读次数:
112
iter, dir_obj = lfs.dir (path)Lua iterator over the entries of a given directory. Each time the iterator is called withdir_objit returns a directory e...
分类:
其他好文 时间:
2015-06-08 23:01:51
阅读次数:
462
36m的文件,在局域网服务器之间socket单进程传输,client读取源文件并socket发送文件,server接收文件。server日志打屏的时候花费时间begin sec[1433750824], microsec[847467]file[tsl.txt] read over .end se....
分类:
其他好文 时间:
2015-06-08 18:47:48
阅读次数:
240
基于云服务的应用里,终端的安全机制需要靠企业管理,数据从终端到云服务商,HTTPS和TLS可以保证传输过程的安全,可以应用在从客户端到服务端的传输中,也可以应用在服务端各个应用程序之间的通讯上。数据进入存储服务器,云服务商利用客户独特的密钥对数据进行加密存储,即提供商保管数据,用户则保管密钥,密钥的持有者很关键。但是由于存储数据的加密是在云服务商的服务器上进行,所以这种模式下,在加密过程中,加密密钥势必由云服务商保管,密钥需要暂借给云服务商。假如云服务商有其他不太明确、不太诚实的企图或者受到胁迫,它们可能偷...
分类:
其他好文 时间:
2015-06-08 17:35:33
阅读次数:
373
说明:这个插件可以将构建的产物(例如:Jar)发布到FTP中去。 官方说明:Publish Over FTP Plugin 安装步骤: 系统管理→管理插件→可选插件→Artifact Uploaders→Publish Over FTP Plugin 系统设置 FTP Server...
分类:
其他好文 时间:
2015-06-08 15:23:32
阅读次数:
159
Hive在0.11.0版本开始加入了row_number、rank、dense_rank分析函数,可以查询分组排序后的top值说明:row_number() over ([partition col1] [order by col2])rank() over ([partition col1] [o...
分类:
其他好文 时间:
2015-06-08 14:47:46
阅读次数:
11462