任务的划分 ? DAGScheduler类的handleJobSubmitted方法中,有一个提交阶段的的方法: var finalStage: ResultStage = null …… finalStage = createResultStage(finalRDD, func, partitio ...
分类:
其他好文 时间:
2021-01-12 10:29:01
阅读次数:
0
0.场景说明 centos7 mysql5.7 InnoDB引擎 0.1创建表 DROP TABLE IF EXISTS tbl_article_content; CREATE TABLE tbl_article_content ( id bigint(40) NOT NULL AUTO_INCRE ...
分类:
数据库 时间:
2021-01-11 11:20:40
阅读次数:
0
判断数据库字段不为空的语句: 判断 数据库字段 :不为空、 不为null 、不为" " ——使用语句: trim(columnA ) != '' select * from table where module='XX' and trim(columnA ) != '' (columnA is no ...
分类:
数据库 时间:
2021-01-11 11:16:56
阅读次数:
0
我们写完一个sql语句,为了让它高性能地执行,一定要explain一下,查看一下它的执行计划。 查看心法: 1.首先从查询类型type列开始查看,如果出现all关键字,那么不用继续看了,全表扫描了 2.查看key列,看是否使用了索引,null代表没有使用索引 3.查看rows列,该列代表在SQL执行 ...
分类:
数据库 时间:
2021-01-11 10:53:53
阅读次数:
0
Problem LeetCode Given a binary search tree, write a function kthSmallest to find the kth smallest element in it. Example 1: Input: root = [3,1,4,null ...
分类:
编程语言 时间:
2021-01-11 10:45:32
阅读次数:
0
基础类型:number string boolean undefined null 引用类型:object array function 基本类型和复杂类型区别: 1.存储不同:基本类型的存储,是将值存到栈中;复杂类型的存储,将值存到堆中,将堆的地址存到栈中 2.赋值不同:基本类型的赋值,将值复制一 ...
分类:
其他好文 时间:
2021-01-08 11:20:25
阅读次数:
0
给你二叉树的根节点 root ,返回它节点值的?前序?遍历。 示例 1: 输入:root = [1,null,2,3] 输出:[1,2,3] 示例 2: 输入:root = [] 输出:[] 示例 3: 输入:root = [1] 输出:[1] 示例 4: 输入:root = [1,2] 输出:[1 ...
分类:
其他好文 时间:
2021-01-08 11:19:55
阅读次数:
0
给定一个二叉树,返回它的 后序 遍历。 示例: 输入: [1,null,2,3] 1 \ 2 / 3 输出: [3,2,1] 进阶: 递归算法很简单,你可以通过迭代算法完成吗? C 代码 ...
分类:
其他好文 时间:
2021-01-08 11:18:58
阅读次数:
0
: "${LOG_FILE:=/var/log/factory_install.log}" Shell Parameter Expansioin ${parameter:=word} If parameter is unset or null, the expansion of word is as ...
分类:
其他好文 时间:
2021-01-08 10:44:41
阅读次数:
0
几种获取记录数的方法 count(*): MySQL 优化过,扫描的行数小于总记录数。执行效率高。 count(1): 遍历所有记录,不取值,对每行尝试添加一个 “1” 列,如果不为 null,就计入累加(引擎层)。 count(主键): 遍历所有记录,并把每个记录的 id 取出返回 Server ...
分类:
其他好文 时间:
2021-01-07 11:59:09
阅读次数:
0