摘要: String对长度没有限制! 阅读全文
posted @ 2020-11-26 18:55 PEAR2020 阅读(2168) 评论(0) 推荐(0) 编辑
摘要: 一、pom <dependencies> <!-- https://mvnrepository.com/artifact/org.apache.hive/hive-jdbc --> <dependency> <groupId>org.apache.hive</groupId> <artifactId 阅读全文
posted @ 2020-11-26 18:44 PEAR2020 阅读(863) 评论(0) 推荐(0) 编辑
摘要: 一、生成 springboot选择 spring-boot-starter-parent -> 2.2.11.RELEASE java -> 1.8 mybatis-spring-boot-starter -> 2.1.4 mysql-connector-java -> 5.1.38 depende 阅读全文
posted @ 2020-11-26 18:37 PEAR2020 阅读(929) 评论(0) 推荐(0) 编辑
摘要: 一、结论 每个窗口函数都有orderby 结论:改成全局一次orderby 子查询:MR 结论:最好不要子查询 优先干死多余数据 【对hive来说】=> 先inner join(不会MR),再where(会MR) 【对mysql来说】=> 先 where(筛数据) 再 on(where在前,多个条件 阅读全文
posted @ 2020-11-26 13:44 PEAR2020 阅读(221) 评论(0) 推荐(0) 编辑