- 博客(7)
- 收藏
- 关注
原创 [Spark] Spark SQL Join Types with examples
Spark SQL supports all basic join operations available in traditional SQL, though Spark Core Joins has huge performance issues when not designed with care as it involves data shuffling across the network, in the other hand Spark SQL Joins comes with more
2020-09-18 22:40:44 221
原创 [SQL/Java] 数据膨胀和时间格式转换
今天在工作中遇到两个问题 两张hive表关联时,由于a表存在重复数据,造成另外一张b表的数据膨胀。 Java的时间格式转换函数的使用 一、关联的数据膨胀 在计算广告的点击率预估中,需要通过点击表关联曝光表,从而生成label表。数据膨胀就发生在关联的过程中,代码如下: -- sql 1 select case when (click.imei is not null and click.id is not null and click.url is not null) then 1 else.
2020-09-18 11:51:43 982
原创 [经验分享] 覃超直播课-入职新公司后,如何快速斩头露角
本文为2020-09-17超哥的直播课内容笔记。 重要提示: 本文为超哥自己大厂和创业经历+身旁牛人的经验 作为个体,一定要独立思考和判断 结合自己具体情况 工作和学生时代的区别 学校-有限博弈 vs 工作-无限博弈 学习和考试内容固定;工作则不同(1000分 vs 50分) 好的工作天花板很高,有1000分。坏的工作天花板很低,只有50分。同样的努力程度,却可以达到不同的高度。 软实力(战略、情商等等)异常重要 理工男在这块普遍不是很关注。 同理心 Empathy -> 利他 .
2020-09-18 11:46:24 450
原创 [C++] lower_bound in C++
[C++] lower_bound in C++ 用于寻找已排序数组,或者已被partition的数组中的bound的index The lower_bound() method in C++ is used to return an iterator pointing to the first element in the range [first, last) which has a value not less than val. This means that the funtion retur
2020-09-06 23:10:03 156
原创 [C++] How to find the biggest key in a std::map?
[C++] How to find the biggest key in a std::map? The method m.rbegin(); Maps (and sets) are sorted, so the first element is the smallest, and the last element is the largest. By default maps use std::less, but you can switch the comparer and this would of
2020-09-06 23:08:38 224
原创 2020-09-06 第11篇
这是我在CSDN的第11篇每周总结。 写作是为了逼迫自己思考,培养思考,总结和回顾的习惯。 学习篇 本周终于将LC刷到了200题,截止今日为202。但是也存在较严重的问题,就是很多新题都只刷过一遍。还需要大量的时间进行五毒神掌的过遍数。 业务上对于自顶向下的newspaper式的编码方式的刻意练习,感觉良好。代码可以写的非常熟练和快速。而且我发现自己的打字速度和熟练度也越来越好了,包括英文打字。继续坚持。 设计模式这块,需要抽出整块的时间进行学习。还没想好学习计划。此外,python的学习也要排上日程。因为
2020-09-06 23:07:16 115
原创 [DSA] training camp week-4
[DSA] training camp week-4 2020/08/31-2020/09/06 完成情况 Title Keywords Rounds 455. Assign-Cookies Greedy 3/5 121. Best-Time-to-Buy-and-Sell-Stock DP 1/5 102. Binary-Tree-Level-Order-Traversal BFS 3/5 107. Binary-Tree-Level-Order-Traversal-II
2020-09-06 22:42:25 156
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人