建表注意:
数据大小,选择int bigint
索引:
1. mysql可以随意新增还好
2. doris需要在建表时就明确好可用的索引,并且注意索引最多36个字符,并且会被string类型截断,即最多能到第一个string类型的字段,且string类型最多截取前20字符
面试参考
Posted on
In
olap
待整理
Posted on
In
java
noclassdeffounderror 解决
ClassNotFoundException和NoClassDefFoundError的区别
实习杂记(27):如何解决Java.lang.NoClassDefFoundError
system.currenttimemillis() 耗时
System.currentTimeMillis的性能真有如此不堪吗?
缓慢的System.currentTimeMillis() - 疑问号
关于时间格式 2016-08-9T10:01:54.123Z 20160809100154.123Z 处理方法
编码
Base64.getMimeDecoder().decode(data)
Base64.getDecoder().decode(data);
区别
Base64 Encoding: Illegal base64 character 3c
疑问
- URLDecoder.decode作用
- 为什么不允许使用java静态构造函数
待整理
Posted on
In
python
Untitled
Posted on
1 | val array = Array("a", "b", "c") |
Untitled
Posted on
1 | import scala.jdk.CollectionConverters._ |
1 | import scala.collection.mutable |
Untitled
Posted on
Untitled
Posted on
Untitled
Posted on
1 | import scala.collection.JavaConversions._ |
1 | val failingBids = ArrayBuffer[BidRecord]() |
Untitled
Posted on
udf 的类型只能是class, 可以使object,至于为什么之前不行,还不清楚
scala使用java 的List需要添加前缀 util.List