thank you?? you are right
------------------ ???????? ------------------ ??????: "felix gao"<gre1...@gmail.com>; ????????: 2013??5??23??(??????) ????1:22 ??????: "user"<user@pig.apache.org>; ????: Re: question??about PigStorag I think you spelled the storage wrong. it is PigStorage() not PigStorag() On Wed, May 22, 2013 at 9:54 PM, ???? <wyy...@qq.com> wrote: > I was login pig success?? > ---------------------------------------------------------------- > 2013-05-23 12:50:15,005 [main] INFO org.apache.pig.Main - Apache Pig > version 0.11.1 (r1459641) compiled Mar 22 2013, 02:13:53 > 2013-05-23 12:50:15,005 [main] INFO org.apache.pig.Main - Logging error > messages to: /opt/hadoop/pig/pig-0.11.1/bin/pig_1369284615000.log > 2013-05-23 12:50:15,031 [main] INFO org.apache.pig.impl.util.Utils - > Default bootup file /home/hadoop/.pigbootup not found > 2013-05-23 12:50:15,235 [main] INFO > org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - > Connecting to hadoop file system at: hdfs://NameNode:9000 > 2013-05-23 12:50:15,546 [main] INFO > org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - > Connecting to map-reduce job tracker at: NameNode:9001 > grunt> A = load > '/user/hive/warehouse/sales_all_report_8l/dt=PGSETRT/dy=2012' using > PigStorag('\u000A'); > ----------------------------------------------------------------- > error?? > 2013-05-23 12:53:43,216 [main] ERROR org.apache.pig.tools.grunt.Grunt - > ERROR 1070: Could not resolve PigStorag using imports: [, > org.apache.pig.builtin., org.apache.pig.impl.builtin.] > Details at logfile: /opt/hadoop/pig/pig-0.11.1/bin/pig_1369284615000.log > > my question: > I store data in hive ,hive default use '\010' split field. > how can i read hive data from pig ? > > thank you !