如何在猪中创建一个小的常数关系(表)?
问题描述:
有没有一种方法可以在Pig中创建一个小的常数关系(表)? 我只需要创建一个包含常量值的元组的关系. 类似于:
is there a way to create a small constant relation(table) in pig? I need to create a relation with only 1 tuple that contains constant values. something along the lines of:
A = LOAD using ConstantLoader('{(1,2,3)}');
谢谢,伊豆