【已解决】Specifying keys via field positions is only valid for tuple data types. Type: GenericType<scala 2023-10-23 09:46:20 浏览数 (2) Specifying keys via field positions is only valid for tuple data types. Type: GenericType<scala.Tuple1>问题Tuple1值错误思路导错包重新导包即可解决成功运行! scala data field types 0 人点赞 上一篇:分享雷军22年前编写的代码