Python 中的自定义数组值 Hive UDF?
有没有办法在 Python 中创建数组值 Hive UDF?我感兴趣的 UDF 将采用 3 个值:初始值、最终值和步骤,并将返回中间值的数组。谢谢。杰森还好。 Java 不是(目前)。
Is there a way to create an array-valued Hive UDF in Python? The UDF I'm interested in will take 3 values: initial, final, and step, and would return an array of in-between values. Thanks. Jython is fine. Java is not (for now).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以将列表与切片一起使用。详细说明参见 http://docs.python.org /release/2.3.5/whatsnew/section-slices.html
You can use list with slice. The detail explanation is given on http://docs.python.org/release/2.3.5/whatsnew/section-slices.html