python opencv的最基础初学

阅读 11

2024-03-17

完整报错

type mismatch;
 found   : Int(100)
 required: Object
Note: an implicit exists from scala.Int => java.lang.Integer, but
methods inherited from Object are rendered ambiguous.  This is to avoid
a blanket implicit which would convert any scala.Int to any AnyRef.
You may wish to use a type ascription: `x: java.lang.Integer`.
    collect(Row.of("-","-","-",100))

对应的错误代码

collect(Row.of("-","-","-",Long.box(100)))

精彩评论(0)

0 0 举报