Re: A solution for the confusion around "as alias:type" ?

2012-06-19 Thread Jonathan Coveney
$ cat data6 1 2 3 4 5 $ java -cp pig.jar org.apache.pig.Main -x local a = load 'data6' as (x:chararray); b = foreach a generate x as y:int; c = foreach b generate y+y; dump c; Eventually: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Number at org.apache.pig.backend.h

Re: A solution for the confusion around "as alias:type" ?

2012-06-19 Thread Aniket Mokashi
I am not aware of the difference, can you please elaborate? That would help other users too [+user@pig?]... Thanks, Aniket On Tue, Jun 19, 2012 at 9:57 PM, Jonathan Coveney wrote: > I cannot tell you the number of scripts I have had die because of this, and > the mass confusion it causes. Is the

A solution for the confusion around "as alias:type" ?

2012-06-19 Thread Jonathan Coveney
I cannot tell you the number of scripts I have had die because of this, and the mass confusion it causes. Is there any reason why we can't just have "thing as alias:type" and "(type)thing as alias" be synonymous?

[jira] [Commented] (PIG-2755) When I use PigServer method registerQuery("SET debug on;") ,got an error

2012-06-19 Thread Jonathan Coveney (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397268#comment-13397268 ] Jonathan Coveney commented on PIG-2755: --- Hmm, I wonder if I "won't fixed" this prematu

Shall we get the machinations machinating for PIG 0.11?

2012-06-19 Thread Jonathan Coveney
I think it might be time to start thinking about what patches we want in 0.11, and aim to get a release out sooner than later. "Release early, release often" -Richard Nixon For me: https://issues.apache.org/jira/browse/PIG-2673 https://issues.apache.org/jira/browse/PIG-2632 if https://issues.apac

[jira] [Resolved] (PIG-2755) When I use PigServer method registerQuery("SET debug on;") ,got an error

2012-06-19 Thread Jonathan Coveney (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Coveney resolved PIG-2755. --- Resolution: Won't Fix > When I use PigServer method registerQuery("SET debug on;") ,got an

[jira] [Updated] (PIG-2632) Create a SchemaTuple which generates efficient Tuples via code gen

2012-06-19 Thread Jonathan Coveney (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Coveney updated PIG-2632: -- Attachment: PIG-2632-9.patch > Create a SchemaTuple which generates efficient Tuples via code

Re: Review Request: SchemaTuple in Pig

2012-06-19 Thread Jonathan Coveney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4651/ --- (Updated June 20, 2012, 4:35 a.m.) Review request for pig and Julien Le Dem. C

Has anyone gotten post-review + git working with apache reviewboard?

2012-06-19 Thread Jonathan Coveney
Maybe I should ask the post-review or apache people, but was just curious. The git -> reviewboard process is pretty awful, because reviewboard doesn't accept git diffs, and I can't make it fit the proper syntax. post-review is supposed to do this, but I can't seem to get it to work. This is funny b

[jira] [Updated] (PIG-2632) Create a SchemaTuple which generates efficient Tuples via code gen

2012-06-19 Thread Jonathan Coveney (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Coveney updated PIG-2632: -- Attachment: PIG-2632-9.patch see reviewboard as well > Create a SchemaTuple whic

[jira] [Commented] (PIG-2632) Create a SchemaTuple which generates efficient Tuples via code gen

2012-06-19 Thread Jonathan Coveney (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397255#comment-13397255 ] Jonathan Coveney commented on PIG-2632: --- Scott: totally agree. In general: what do we

Re: Review Request: SchemaTuple in Pig

2012-06-19 Thread Jonathan Coveney
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4651/ --- (Updated June 20, 2012, 4:28 a.m.) Review request for pig and Julien Le Dem. C

[jira] [Resolved] (PIG-2454) Make use of primitive tuples in builtin UDFs and operators

2012-06-19 Thread Dmitriy V. Ryaboy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitriy V. Ryaboy resolved PIG-2454. Resolution: Won't Fix Jon's implementation of custom code-gen per schema tuple is better, we'

[jira] [Commented] (PIG-2454) Make use of primitive tuples in builtin UDFs and operators

2012-06-19 Thread Jie Li (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397194#comment-13397194 ] Jie Li commented on PIG-2454: - Has the PrimitiveTuple been used by Pig? I can't find any place c

Re: Pig blog?

2012-06-19 Thread Alan Gates
Happy to, but you'll need to get an account on Apache's blogs first. It's separate from other Apache accounts. There's info on how to do that at http://www.apache.org/dev/apache-blogs.html#askforblog Alan. On Jun 19, 2012, at 4:13 PM, Julien Le Dem wrote: > Thanks for setting that up! > Coul

[jira] [Commented] (PIG-2760) resources added with a relative path are added to the JobXXXX jar file under their absolute path

2012-06-19 Thread Cheolsoo Park (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397142#comment-13397142 ] Cheolsoo Park commented on PIG-2760: Indeed. Good catch! > resources ad

Build failed in Jenkins: Pig-trunk #1264

2012-06-19 Thread Apache Jenkins Server
See Changes: [daijy] PIG-2745: Pig e2e test RubyUDFs fails in MR mode when running from tarball (enable_scripting_tests_23.patch) -- [...truncated 39441 lines...] [junit] at com.sun.jmx.inter

[jira] [Commented] (PIG-2760) resources added with a relative path are added to the JobXXXX jar file under their absolute path

2012-06-19 Thread Rohini Palaniswamy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397111#comment-13397111 ] Rohini Palaniswamy commented on PIG-2760: - *This will cause getScriptAsStream() to e

[jira] [Updated] (PIG-2761) With hadoop23 importing modules inside python script does not work

2012-06-19 Thread Rohini Palaniswamy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohini Palaniswamy updated PIG-2761: Attachment: PIG-2761-initial.patch Initial patch for review. Reverted 2745 as removing leadin

[jira] [Commented] (PIG-2760) resources added with a relative path are added to the JobXXXX jar file under their absolute path

2012-06-19 Thread Rohini Palaniswamy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397110#comment-13397110 ] Rohini Palaniswamy commented on PIG-2760: - se.registerFunctions(f.getPath(), namesp

[jira] [Commented] (PIG-2632) Create a SchemaTuple which generates efficient Tuples via code gen

2012-06-19 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397076#comment-13397076 ] Scott Carey commented on PIG-2632: -- Thanks, I can read the pdf fine. Yeah, optimizing the

[jira] [Created] (PIG-2761) With hadoop23 importing modules inside python script does not work

2012-06-19 Thread Rohini Palaniswamy (JIRA)
Rohini Palaniswamy created PIG-2761: --- Summary: With hadoop23 importing modules inside python script does not work Key: PIG-2761 URL: https://issues.apache.org/jira/browse/PIG-2761 Project: Pig

[jira] [Commented] (PIG-2745) Pig e2e test RubyUDFs fails in MR mode when running from tarball

2012-06-19 Thread Rohini Palaniswamy (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397052#comment-13397052 ] Rohini Palaniswamy commented on PIG-2745: - Cheolsoo, I am looking into the issue

[jira] [Updated] (PIG-2632) Create a SchemaTuple which generates efficient Tuples via code gen

2012-06-19 Thread Jonathan Coveney (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jonathan Coveney updated PIG-2632: -- Attachment: schematuple benchmarking.pdf Scott, I attached a pdf. Note: I think the serializing t

[jira] [Commented] (PIG-2760) resources added with a relative path are added to the JobXXXX jar file under their absolute path

2012-06-19 Thread Mathias Herberts (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397030#comment-13397030 ] Mathias Herberts commented on PIG-2760: --- I guess with an appropriate comment the two c

[jira] [Commented] (PIG-2760) resources added with a relative path are added to the JobXXXX jar file under their absolute path

2012-06-19 Thread Cheolsoo Park (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397007#comment-13397007 ] Cheolsoo Park commented on PIG-2760: Hi Mathias, Agreed. I haven't thought about the us

[jira] [Commented] (PIG-2632) Create a SchemaTuple which generates efficient Tuples via code gen

2012-06-19 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396998#comment-13396998 ] Scott Carey commented on PIG-2632: -- I can't seem to be able to view the powerpoint. On a m

[jira] [Updated] (PIG-2745) Pig e2e test RubyUDFs fails in MR mode when running from tarball

2012-06-19 Thread Daniel Dai (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Dai updated PIG-2745: Attachment: enable_scripting_tests_23.patch > Pig e2e test RubyUDFs fails in MR mode when running from ta

[jira] [Commented] (PIG-2753) In distributed mapreduce mode, pig can not get correct hbase configuration

2012-06-19 Thread Daniel Dai (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396983#comment-13396983 ] Daniel Dai commented on PIG-2753: - Seems we made some change on trunk. It is now use job.xml

[jira] [Updated] (PIG-2745) Pig e2e test RubyUDFs fails in MR mode when running from tarball

2012-06-19 Thread Daniel Dai (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Dai updated PIG-2745: Attachment: (was: enable_scripting_tests_23.patch) > Pig e2e test RubyUDFs fails in MR mode when runn

[jira] [Commented] (PIG-2745) Pig e2e test RubyUDFs fails in MR mode when running from tarball

2012-06-19 Thread Daniel Dai (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396965#comment-13396965 ] Daniel Dai commented on PIG-2745: - Hi, Cheolsoo, You are right. This issue is fixed as a byp

[jira] [Updated] (PIG-2745) Pig e2e test RubyUDFs fails in MR mode when running from tarball

2012-06-19 Thread Daniel Dai (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Dai updated PIG-2745: Attachment: enable_scripting_tests_23.patch > Pig e2e test RubyUDFs fails in MR mode when running from ta

[jira] [Updated] (PIG-1314) Add DateTime Support to Pig

2012-06-19 Thread Zhijie Shen (JIRA)
[ https://issues.apache.org/jira/browse/PIG-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zhijie Shen updated PIG-1314: - Attachment: PIG-1314-2.patch I've updated the patch with the following changes: 1. Editing some codes rela

Build failed in Jenkins: Pig-trunk #1263

2012-06-19 Thread Apache Jenkins Server
See Changes: [julien] PIG-2699: Reduce the number of instances of Load and Store Funcs down to 2+1 (julien) -- [...truncated 37320 lines...] [junit] at com.sun.jmx.mbeanserver.JmxMBeanServer.

[jira] [Updated] (PIG-2760) resources added with a relative path are added to the JobXXXX jar file under their absolute path

2012-06-19 Thread Mathias Herberts (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mathias Herberts updated PIG-2760: -- Attachment: PIG-2760.patch This patch changes the name used in the job jar to relative paths if t

[jira] [Commented] (PIG-2760) resources added with a relative path are added to the JobXXXX jar file under their absolute path

2012-06-19 Thread Mathias Herberts (JIRA)
[ https://issues.apache.org/jira/browse/PIG-2760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396596#comment-13396596 ] Mathias Herberts commented on PIG-2760: --- Converting a relative path to an absolute one