[jira] Updated: (PIG-613) Casting elements inside a tuple does not take effect

2010-02-24 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-613:
---

  Resolution: Fixed
Hadoop Flags: [Reviewed]
  Status: Resolved  (was: Patch Available)

Patch committed.

 Casting elements inside a tuple does not take effect
 

 Key: PIG-613
 URL: https://issues.apache.org/jira/browse/PIG-613
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.2.0
Reporter: Viraj Bhat
Assignee: Daniel Dai
 Fix For: 0.7.0

 Attachments: myfloatdata.txt, PIG-613-1.patch, PIG-613-2.patch, 
 SQUARE.java


 Consider the following Pig script which casts return values of the SQUARE UDF 
 which are  tuples of doubles to long. The describe output of B shows it is 
 long, however the result is still double.
 {code}
 register statistics.jar;
 A = load 'myfloatdata.txt' using PigStorage() as (doublecol:double);
 B = foreach A generate (tuple(long))statistics.SQUARE(doublecol) as 
 squares:(loadtimesq);
 describe B;
 explain B;
 dump B;
 {code}
 ===
 Describe output of B:
 B: {squares: (loadtimesq: long)}
 ===
 Sample output of B:
 ((7885.44))
 ((792098.2200010001))
 ((1497360.9268889998))
 ((50023.7956))
 ((0.972196))
 ((0.30980356))
 ((9.9760144E-7))
 ===
 Cause: The cast for Tuples has not been implemented in POCast.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-613) Casting elements inside a tuple does not take effect

2010-02-23 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-613:
---

Status: Patch Available  (was: Open)

 Casting elements inside a tuple does not take effect
 

 Key: PIG-613
 URL: https://issues.apache.org/jira/browse/PIG-613
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.2.0
Reporter: Viraj Bhat
Assignee: Daniel Dai
 Fix For: 0.7.0

 Attachments: myfloatdata.txt, PIG-613-1.patch, PIG-613-2.patch, 
 SQUARE.java


 Consider the following Pig script which casts return values of the SQUARE UDF 
 which are  tuples of doubles to long. The describe output of B shows it is 
 long, however the result is still double.
 {code}
 register statistics.jar;
 A = load 'myfloatdata.txt' using PigStorage() as (doublecol:double);
 B = foreach A generate (tuple(long))statistics.SQUARE(doublecol) as 
 squares:(loadtimesq);
 describe B;
 explain B;
 dump B;
 {code}
 ===
 Describe output of B:
 B: {squares: (loadtimesq: long)}
 ===
 Sample output of B:
 ((7885.44))
 ((792098.2200010001))
 ((1497360.9268889998))
 ((50023.7956))
 ((0.972196))
 ((0.30980356))
 ((9.9760144E-7))
 ===
 Cause: The cast for Tuples has not been implemented in POCast.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-613) Casting elements inside a tuple does not take effect

2010-02-22 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-613:
---

Attachment: PIG-613-1.patch

 Casting elements inside a tuple does not take effect
 

 Key: PIG-613
 URL: https://issues.apache.org/jira/browse/PIG-613
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.2.0
Reporter: Viraj Bhat
Assignee: Daniel Dai
 Fix For: 0.7.0

 Attachments: myfloatdata.txt, PIG-613-1.patch, SQUARE.java


 Consider the following Pig script which casts return values of the SQUARE UDF 
 which are  tuples of doubles to long. The describe output of B shows it is 
 long, however the result is still double.
 {code}
 register statistics.jar;
 A = load 'myfloatdata.txt' using PigStorage() as (doublecol:double);
 B = foreach A generate (tuple(long))statistics.SQUARE(doublecol) as 
 squares:(loadtimesq);
 describe B;
 explain B;
 dump B;
 {code}
 ===
 Describe output of B:
 B: {squares: (loadtimesq: long)}
 ===
 Sample output of B:
 ((7885.44))
 ((792098.2200010001))
 ((1497360.9268889998))
 ((50023.7956))
 ((0.972196))
 ((0.30980356))
 ((9.9760144E-7))
 ===
 Cause: The cast for Tuples has not been implemented in POCast.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-613) Casting elements inside a tuple does not take effect

2010-02-22 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-613:
---

Status: Patch Available  (was: Open)

 Casting elements inside a tuple does not take effect
 

 Key: PIG-613
 URL: https://issues.apache.org/jira/browse/PIG-613
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.2.0
Reporter: Viraj Bhat
Assignee: Daniel Dai
 Fix For: 0.7.0

 Attachments: myfloatdata.txt, PIG-613-1.patch, SQUARE.java


 Consider the following Pig script which casts return values of the SQUARE UDF 
 which are  tuples of doubles to long. The describe output of B shows it is 
 long, however the result is still double.
 {code}
 register statistics.jar;
 A = load 'myfloatdata.txt' using PigStorage() as (doublecol:double);
 B = foreach A generate (tuple(long))statistics.SQUARE(doublecol) as 
 squares:(loadtimesq);
 describe B;
 explain B;
 dump B;
 {code}
 ===
 Describe output of B:
 B: {squares: (loadtimesq: long)}
 ===
 Sample output of B:
 ((7885.44))
 ((792098.2200010001))
 ((1497360.9268889998))
 ((50023.7956))
 ((0.972196))
 ((0.30980356))
 ((9.9760144E-7))
 ===
 Cause: The cast for Tuples has not been implemented in POCast.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-613) Casting elements inside a tuple does not take effect

2010-02-22 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-613:
---

Attachment: PIG-613-1.patch

 Casting elements inside a tuple does not take effect
 

 Key: PIG-613
 URL: https://issues.apache.org/jira/browse/PIG-613
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.2.0
Reporter: Viraj Bhat
Assignee: Daniel Dai
 Fix For: 0.7.0

 Attachments: myfloatdata.txt, PIG-613-1.patch, SQUARE.java


 Consider the following Pig script which casts return values of the SQUARE UDF 
 which are  tuples of doubles to long. The describe output of B shows it is 
 long, however the result is still double.
 {code}
 register statistics.jar;
 A = load 'myfloatdata.txt' using PigStorage() as (doublecol:double);
 B = foreach A generate (tuple(long))statistics.SQUARE(doublecol) as 
 squares:(loadtimesq);
 describe B;
 explain B;
 dump B;
 {code}
 ===
 Describe output of B:
 B: {squares: (loadtimesq: long)}
 ===
 Sample output of B:
 ((7885.44))
 ((792098.2200010001))
 ((1497360.9268889998))
 ((50023.7956))
 ((0.972196))
 ((0.30980356))
 ((9.9760144E-7))
 ===
 Cause: The cast for Tuples has not been implemented in POCast.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-613) Casting elements inside a tuple does not take effect

2010-02-22 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-613:
---

Status: Open  (was: Patch Available)

 Casting elements inside a tuple does not take effect
 

 Key: PIG-613
 URL: https://issues.apache.org/jira/browse/PIG-613
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.2.0
Reporter: Viraj Bhat
Assignee: Daniel Dai
 Fix For: 0.7.0

 Attachments: myfloatdata.txt, PIG-613-1.patch, SQUARE.java


 Consider the following Pig script which casts return values of the SQUARE UDF 
 which are  tuples of doubles to long. The describe output of B shows it is 
 long, however the result is still double.
 {code}
 register statistics.jar;
 A = load 'myfloatdata.txt' using PigStorage() as (doublecol:double);
 B = foreach A generate (tuple(long))statistics.SQUARE(doublecol) as 
 squares:(loadtimesq);
 describe B;
 explain B;
 dump B;
 {code}
 ===
 Describe output of B:
 B: {squares: (loadtimesq: long)}
 ===
 Sample output of B:
 ((7885.44))
 ((792098.2200010001))
 ((1497360.9268889998))
 ((50023.7956))
 ((0.972196))
 ((0.30980356))
 ((9.9760144E-7))
 ===
 Cause: The cast for Tuples has not been implemented in POCast.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-613) Casting elements inside a tuple does not take effect

2010-02-22 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-613:
---

Attachment: (was: PIG-613-1.patch)

 Casting elements inside a tuple does not take effect
 

 Key: PIG-613
 URL: https://issues.apache.org/jira/browse/PIG-613
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.2.0
Reporter: Viraj Bhat
Assignee: Daniel Dai
 Fix For: 0.7.0

 Attachments: myfloatdata.txt, PIG-613-1.patch, SQUARE.java


 Consider the following Pig script which casts return values of the SQUARE UDF 
 which are  tuples of doubles to long. The describe output of B shows it is 
 long, however the result is still double.
 {code}
 register statistics.jar;
 A = load 'myfloatdata.txt' using PigStorage() as (doublecol:double);
 B = foreach A generate (tuple(long))statistics.SQUARE(doublecol) as 
 squares:(loadtimesq);
 describe B;
 explain B;
 dump B;
 {code}
 ===
 Describe output of B:
 B: {squares: (loadtimesq: long)}
 ===
 Sample output of B:
 ((7885.44))
 ((792098.2200010001))
 ((1497360.9268889998))
 ((50023.7956))
 ((0.972196))
 ((0.30980356))
 ((9.9760144E-7))
 ===
 Cause: The cast for Tuples has not been implemented in POCast.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-613) Casting elements inside a tuple does not take effect

2010-02-22 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-613:
---

Status: Patch Available  (was: Open)

 Casting elements inside a tuple does not take effect
 

 Key: PIG-613
 URL: https://issues.apache.org/jira/browse/PIG-613
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.2.0
Reporter: Viraj Bhat
Assignee: Daniel Dai
 Fix For: 0.7.0

 Attachments: myfloatdata.txt, PIG-613-1.patch, SQUARE.java


 Consider the following Pig script which casts return values of the SQUARE UDF 
 which are  tuples of doubles to long. The describe output of B shows it is 
 long, however the result is still double.
 {code}
 register statistics.jar;
 A = load 'myfloatdata.txt' using PigStorage() as (doublecol:double);
 B = foreach A generate (tuple(long))statistics.SQUARE(doublecol) as 
 squares:(loadtimesq);
 describe B;
 explain B;
 dump B;
 {code}
 ===
 Describe output of B:
 B: {squares: (loadtimesq: long)}
 ===
 Sample output of B:
 ((7885.44))
 ((792098.2200010001))
 ((1497360.9268889998))
 ((50023.7956))
 ((0.972196))
 ((0.30980356))
 ((9.9760144E-7))
 ===
 Cause: The cast for Tuples has not been implemented in POCast.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-613) Casting elements inside a tuple does not take effect

2010-01-26 Thread Daniel Dai (JIRA)

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

Daniel Dai updated PIG-613:
---

Fix Version/s: 0.7.0
 Assignee: Daniel Dai

 Casting elements inside a tuple does not take effect
 

 Key: PIG-613
 URL: https://issues.apache.org/jira/browse/PIG-613
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: 0.2.0
Reporter: Viraj Bhat
Assignee: Daniel Dai
 Fix For: 0.7.0

 Attachments: myfloatdata.txt, SQUARE.java


 Consider the following Pig script which casts return values of the SQUARE UDF 
 which are  tuples of doubles to long. The describe output of B shows it is 
 long, however the result is still double.
 {code}
 register statistics.jar;
 A = load 'myfloatdata.txt' using PigStorage() as (doublecol:double);
 B = foreach A generate (tuple(long))statistics.SQUARE(doublecol) as 
 squares:(loadtimesq);
 describe B;
 explain B;
 dump B;
 {code}
 ===
 Describe output of B:
 B: {squares: (loadtimesq: long)}
 ===
 Sample output of B:
 ((7885.44))
 ((792098.2200010001))
 ((1497360.9268889998))
 ((50023.7956))
 ((0.972196))
 ((0.30980356))
 ((9.9760144E-7))
 ===
 Cause: The cast for Tuples has not been implemented in POCast.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-613) Casting elements inside a tuple does not take effect

2009-01-08 Thread Viraj Bhat (JIRA)

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

Viraj Bhat updated PIG-613:
---

Attachment: myfloatdata.txt

Test input file

 Casting elements inside a tuple does not take effect
 

 Key: PIG-613
 URL: https://issues.apache.org/jira/browse/PIG-613
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: types_branch
Reporter: Viraj Bhat
 Fix For: types_branch

 Attachments: myfloatdata.txt


 Consider the following Pig script which casts return values of the SQUARE UDF 
 which are  tuples of doubles to long. The describe output of B shows it is 
 long, however the result is still double.
 {code}
 register statistics.jar;
 A = load 'myfloatdata.txt' using PigStorage() as (doublecol:double);
 B = foreach A generate (tuple(long))statistics.SQUARE(doublecol) as 
 squares:(loadtimesq);
 describe B;
 explain B;
 dump B;
 {code}
 ===
 Describe output of B:
 B: {squares: (loadtimesq: long)}
 ===
 Sample output of B:
 ((7885.44))
 ((792098.2200010001))
 ((1497360.9268889998))
 ((50023.7956))
 ((0.972196))
 ((0.30980356))
 ((9.9760144E-7))
 ===
 Cause: The cast for Tuples has not been implemented in POCast.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (PIG-613) Casting elements inside a tuple does not take effect

2009-01-08 Thread Viraj Bhat (JIRA)

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

Viraj Bhat updated PIG-613:
---

Attachment: SQUARE.java

SQUARE UDF

 Casting elements inside a tuple does not take effect
 

 Key: PIG-613
 URL: https://issues.apache.org/jira/browse/PIG-613
 Project: Pig
  Issue Type: Bug
  Components: impl
Affects Versions: types_branch
Reporter: Viraj Bhat
 Fix For: types_branch

 Attachments: myfloatdata.txt, SQUARE.java


 Consider the following Pig script which casts return values of the SQUARE UDF 
 which are  tuples of doubles to long. The describe output of B shows it is 
 long, however the result is still double.
 {code}
 register statistics.jar;
 A = load 'myfloatdata.txt' using PigStorage() as (doublecol:double);
 B = foreach A generate (tuple(long))statistics.SQUARE(doublecol) as 
 squares:(loadtimesq);
 describe B;
 explain B;
 dump B;
 {code}
 ===
 Describe output of B:
 B: {squares: (loadtimesq: long)}
 ===
 Sample output of B:
 ((7885.44))
 ((792098.2200010001))
 ((1497360.9268889998))
 ((50023.7956))
 ((0.972196))
 ((0.30980356))
 ((9.9760144E-7))
 ===
 Cause: The cast for Tuples has not been implemented in POCast.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.