在 PIG 中声明变量和模式
如何在PIG中声明变量?假设我想要一个值为 10 的整数,我如何在脚本中声明它?以及如何重用模式?
how to declare a variable in PIG? suppose i want to have a integer to have values as 10 how can i declare it in script? and how schema can be reused ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您可以使用“声明”命令。它用于描述一个参数并在 PIG 脚本中使用。
您可以在这里了解更多相关信息。 Pig 参数
I think you can use the 'Declare' command. It is used to describe one parameter and is used within the PIG script.
You can get more about it here. Pig Parameter