api差异参考官网地址:https://spark.apache.org/docs/2.1.1/sql-programming-guide.html#upgrading-from-spark-sql-16-to-20 1.SparkSession is now the new entry point ...
分类:
其他好文 时间:
2020-01-06 19:23:38
阅读次数:
87
一、String 类 1. mysql 常用函数 length, concat, substr, upper, lower, trim,ifnull,isnull 2. 其他函数 (1) lpad, 左边用 \* 号填充, 总字符串为长度为 10; rpad 右填充 select lpad("小猫" ...
分类:
数据库 时间:
2020-01-05 18:32:35
阅读次数:
93
使用svg,把小球按照制定轨迹进行运动的代码: ...
分类:
其他好文 时间:
2020-01-05 13:54:34
阅读次数:
331
显示24小时:System.DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); 2020-01-04 18:15:48 显示12小时:System.DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss"); 2020-01-04 ...
分类:
其他好文 时间:
2020-01-04 20:47:32
阅读次数:
165
var start = "2019-02-11";//开始时间 var end = nowTime();//结束时间 //返回当前时间 function nowTime(){ var now = new Date(); var year = now.getFullYear(); var month ...
分类:
编程语言 时间:
2020-01-04 18:47:37
阅读次数:
91
前言不管对于哪种服务,对于其优化,无非是从两个方面着手,第一个是对于硬件方面的优化,第二个是对系统以及服务本身的优化。1、查询连接MySQL服务器的次数mysql>showstatuslike‘connections‘;+---------------+-------+|Variable_name|Value+---------------+-------+|Connections|3+--
分类:
数据库 时间:
2020-01-04 16:19:15
阅读次数:
82
1. youdao.com result page Before: After: Later we will add more and more. Or you can submit issues to me on blog/github now. Source:https://github.com ...
分类:
Web程序 时间:
2020-01-04 14:33:33
阅读次数:
112
C:\Users\Sara>adb devices* daemon not running; starting now at tcp:5037could not read ok from ADB Server* failed to start daemonadb.exe: failed to che ...
分类:
数据库 时间:
2020-01-03 22:56:18
阅读次数:
364
命令行连接 在工作中主要使用命令操作方式,要求熟练编写 打开终端,运行命令 mysql -uroot -p 回车后输入密码,当前设置的密码为mysql 退出登录 quit 和 exit 或 ctrl+d 查看版本:select version(); 显示当前时间:select now(); 修改输入 ...
分类:
数据库 时间:
2020-01-03 00:11:44
阅读次数:
90
LocalDateTime localDateTime=LocalDateTime.now(); //格式化日期时间类型为字符串 DateTimeFormatter dateTimeFormatter=DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss" ...
分类:
编程语言 时间:
2020-01-01 14:51:56
阅读次数:
565