参考网址:How to store custom objects in Dataset?
在Spark2.1.0中使用Date作为DateFrame列
原文:https://www.cnblogs.com/DataNerd/p/8684613.html