pig命令学习

来源:互联网 发布:长沙网络公关 编辑:程序博客网 时间:2024/06/05 02:34

注释:

  • For multi-line comments use /* …. */

  • For single-line comments use --

设置属性的四种方法:

  • The pig.properties file (add the directory that contains the pig.properties file to the classpath)
  • The -D command line option and a Pig property (pig -Dpig.tmpfilecompression=true)
  • The -P command line option and a properties file (pig -P mypig.properties)
  • The set command (set pig.exec.nocombiner true)

快捷键(别名):

  • \d alias - shourtcut for DUMP operator. If alias is ignored last defined alias will be used.

  • \de alias - shourtcut for DESCRIBE operator. If alias is ignored last defined alias will be used.

  • \e alias - shourtcut for EXPLAIN operator. If alias is ignored last defined alias will be used.

  • \i alias - shourtcut for ILLUSTRATE operator. If alias is ignored last defined alias will be used.

  • \q - To quit grunt shell


0 0