摘要:
TOP N是实现最大/小N条数据。 鉴于Hive提供了limit关键字,配合排序功能就很容易实现了。 但是Hive中order by只能生成1个reduce,如果表的数据量太大,order by 就会有心无力 例如SQL:select a from t_test order by a limit 1 阅读全文
摘要:
从RDBMS到HIVE: sqoop import --connect jdbc:oracle:thin:@//192.168.156.111/test--username test --password test --query select * from it.t_test where inse 阅读全文