[jira] [Updated] (PIG-4525) Clarify "Scalar has more than one row in the output."

2015-05-22 Thread Rohini Palaniswamy (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-4525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rohini Palaniswamy updated PIG-4525:

Fix Version/s: (was: 0.16.0)
   0.15.0

Saw that this was in 0.15 in CHANGES.txt of the trunk, but actually not 
committed there. Instead of correcting CHANGES.txt, committed this to 0.15 as 
well as this is very useful.

> Clarify "Scalar has more than one row in the output."
> -
>
> Key: PIG-4525
> URL: https://issues.apache.org/jira/browse/PIG-4525
> Project: Pig
>  Issue Type: Improvement
>Reporter: Niels Basjes
>Assignee: Niels Basjes
>Priority: Trivial
> Fix For: 0.15.0
>
> Attachments: PIG-4525-2015-04-30-1115.patch
>
>
> The exception "Scalar has more than one row in the output." is correct yet is 
> reason for many (starting) pig developers to search the internet for a 
> solution.
> I propose (and I'll include a patch) to simply extend the exception message 
> with a hint towards the right solution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PIG-4525) Clarify "Scalar has more than one row in the output."

2015-04-30 Thread Daniel Dai (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-4525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Dai updated PIG-4525:

Fix Version/s: (was: 0.15.0)
   0.16.0

> Clarify "Scalar has more than one row in the output."
> -
>
> Key: PIG-4525
> URL: https://issues.apache.org/jira/browse/PIG-4525
> Project: Pig
>  Issue Type: Improvement
>Reporter: Niels Basjes
>Assignee: Niels Basjes
>Priority: Trivial
> Fix For: 0.16.0
>
> Attachments: PIG-4525-2015-04-30-1115.patch
>
>
> The exception "Scalar has more than one row in the output." is correct yet is 
> reason for many (starting) pig developers to search the internet for a 
> solution.
> I propose (and I'll include a patch) to simply extend the exception message 
> with a hint towards the right solution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PIG-4525) Clarify "Scalar has more than one row in the output."

2015-04-30 Thread Alan Gates (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-4525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Gates updated PIG-4525:

   Resolution: Fixed
Fix Version/s: 0.15.0
   Status: Resolved  (was: Patch Available)

Patch committed.  Thanks Niels.

> Clarify "Scalar has more than one row in the output."
> -
>
> Key: PIG-4525
> URL: https://issues.apache.org/jira/browse/PIG-4525
> Project: Pig
>  Issue Type: Improvement
>Reporter: Niels Basjes
>Assignee: Niels Basjes
>Priority: Trivial
> Fix For: 0.15.0
>
> Attachments: PIG-4525-2015-04-30-1115.patch
>
>
> The exception "Scalar has more than one row in the output." is correct yet is 
> reason for many (starting) pig developers to search the internet for a 
> solution.
> I propose (and I'll include a patch) to simply extend the exception message 
> with a hint towards the right solution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PIG-4525) Clarify "Scalar has more than one row in the output."

2015-04-30 Thread Niels Basjes (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-4525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Niels Basjes updated PIG-4525:
--
Attachment: PIG-4525-2015-04-30-1115.patch

This patch simply changes the exception message from 
{code}java.lang.Exception: 
org.apache.pig.backend.executionengine.ExecException: ERROR 0: Scalar has more 
than one row in the output. 1st : (key,1), 2nd :(key,2){code}
to
{code}java.lang.Exception: 
org.apache.pig.backend.executionengine.ExecException: ERROR 0: Scalar has more 
than one row in the output. 1st : (key,1), 2nd :(key,2) (common cause: "JOIN" 
then "FOREACH ... GENERATE foo.bar" should be "foo::bar" )  
  
{code}

> Clarify "Scalar has more than one row in the output."
> -
>
> Key: PIG-4525
> URL: https://issues.apache.org/jira/browse/PIG-4525
> Project: Pig
>  Issue Type: Improvement
>Reporter: Niels Basjes
>Assignee: Niels Basjes
>Priority: Trivial
> Attachments: PIG-4525-2015-04-30-1115.patch
>
>
> The exception "Scalar has more than one row in the output." is correct yet is 
> reason for many (starting) pig developers to search the internet for a 
> solution.
> I propose (and I'll include a patch) to simply extend the exception message 
> with a hint towards the right solution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (PIG-4525) Clarify "Scalar has more than one row in the output."

2015-04-30 Thread Niels Basjes (JIRA)

 [ 
https://issues.apache.org/jira/browse/PIG-4525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Niels Basjes updated PIG-4525:
--
Status: Patch Available  (was: Open)

> Clarify "Scalar has more than one row in the output."
> -
>
> Key: PIG-4525
> URL: https://issues.apache.org/jira/browse/PIG-4525
> Project: Pig
>  Issue Type: Improvement
>Reporter: Niels Basjes
>Assignee: Niels Basjes
>Priority: Trivial
> Attachments: PIG-4525-2015-04-30-1115.patch
>
>
> The exception "Scalar has more than one row in the output." is correct yet is 
> reason for many (starting) pig developers to search the internet for a 
> solution.
> I propose (and I'll include a patch) to simply extend the exception message 
> with a hint towards the right solution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)