[jira] [Commented] (HIVE-2344) filter is removed due to regression of HIVE-1538

2013-01-09 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13547838#comment-13547838
 ] 

Hudson commented on HIVE-2344:
--

Integrated in Hive-trunk-hadoop2 #54 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
HIVE-2791: filter is still removed due to regression of HIVE-1538 althougth 
HIVE-2344 (binlijin via hashutosh) (Revision 1291916)

 Result = ABORTED
hashutosh : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1291916
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ppd/OpProcFactory.java
* /hive/trunk/ql/src/test/queries/clientpositive/ppd2.q
* /hive/trunk/ql/src/test/results/clientpositive/ppd2.q.out


 filter is removed due to regression of HIVE-1538
 

 Key: HIVE-2344
 URL: https://issues.apache.org/jira/browse/HIVE-2344
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.8.0
Reporter: He Yongqiang
Assignee: Amareshwari Sriramadasu
 Fix For: 0.8.0

 Attachments: hive-patch-2344-2.txt, hive-patch-2344.txt, 
 ppd_udf_col.q.out.txt


  select * from 
  (
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1)s where s.randum1230.1 limit 20;
 This is returning results...
 and 
  explain
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1
 shows that there is no filter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-2344) filter is removed due to regression of HIVE-1538

2012-02-21 Thread Hudson (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13212986#comment-13212986
 ] 

Hudson commented on HIVE-2344:
--

Integrated in Hive-trunk-h0.21 #1268 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1268/])
HIVE-2791: filter is still removed due to regression of HIVE-1538 althougth 
HIVE-2344 (binlijin via hashutosh) (Revision 1291916)

 Result = SUCCESS
hashutosh : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1291916
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ppd/OpProcFactory.java
* /hive/trunk/ql/src/test/queries/clientpositive/ppd2.q
* /hive/trunk/ql/src/test/results/clientpositive/ppd2.q.out


 filter is removed due to regression of HIVE-1538
 

 Key: HIVE-2344
 URL: https://issues.apache.org/jira/browse/HIVE-2344
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.8.0
Reporter: He Yongqiang
Assignee: Amareshwari Sriramadasu
 Fix For: 0.8.0

 Attachments: hive-patch-2344-2.txt, hive-patch-2344.txt, 
 ppd_udf_col.q.out.txt


  select * from 
  (
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1)s where s.randum1230.1 limit 20;
 This is returning results...
 and 
  explain
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1
 shows that there is no filter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-2344) filter is removed due to regression of HIVE-1538

2011-08-10 Thread jirapos...@reviews.apache.org (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13082481#comment-13082481
 ] 

jirapos...@reviews.apache.org commented on HIVE-2344:
-


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1404/
---

(Updated 2011-08-10 17:06:46.444966)


Review request for hive, John Sichi and Yongqiang He.


Changes
---

The filter on 'udf selected as column alias in select' is no more pushed beyond 
the select.


Summary (updated)
---

Any filter on 'udf selected as column alias in select' will be pushed down 
through the select operator, which it should not. 


This addresses bug HIVE-2344.
https://issues.apache.org/jira/browse/HIVE-2344


Diffs (updated)
-

  trunk/ql/src/java/org/apache/hadoop/hive/ql/ppd/ExprWalkerProcFactory.java 
1156069 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/ppd/OpProcFactory.java 1156069 
  trunk/ql/src/test/queries/clientpositive/ppd_udf_col.q PRE-CREATION 
  trunk/ql/src/test/results/clientpositive/ppd_udf_col.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/1404/diff


Testing (updated)
---

All tests pass with the patch.


Thanks,

Amareshwari



 filter is removed due to regression of HIVE-1538
 

 Key: HIVE-2344
 URL: https://issues.apache.org/jira/browse/HIVE-2344
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.8.0
Reporter: He Yongqiang
Assignee: Amareshwari Sriramadasu
 Fix For: 0.8.0

 Attachments: hive-patch-2344-2.txt, hive-patch-2344.txt, 
 ppd_udf_col.q.out.txt


  select * from 
  (
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1)s where s.randum1230.1 limit 20;
 This is returning results...
 and 
  explain
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1
 shows that there is no filter.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-2344) filter is removed due to regression of HIVE-1538

2011-08-09 Thread jirapos...@reviews.apache.org (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13081567#comment-13081567
 ] 

jirapos...@reviews.apache.org commented on HIVE-2344:
-


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1404/
---

Review request for hive, John Sichi and Yongqiang He.


Summary
---

Any filter on 'udf selected as column alias in select' will be pushed down 
through the select operator, which it should not. Patch addresses this by 
walking through the udf expression again.


This addresses bug HIVE-2344.
https://issues.apache.org/jira/browse/HIVE-2344


Diffs
-

  trunk/ql/src/java/org/apache/hadoop/hive/ql/ppd/ExprWalkerProcFactory.java 
1153812 
  trunk/ql/src/java/org/apache/hadoop/hive/ql/ppd/OpProcFactory.java 1153812 
  trunk/ql/src/test/queries/clientpositive/ppd_udf_col.q PRE-CREATION 
  trunk/ql/src/test/results/clientpositive/ppd_udf_col.q.out PRE-CREATION 

Diff: https://reviews.apache.org/r/1404/diff


Testing
---


Thanks,

Amareshwari



 filter is removed due to regression of HIVE-1538
 

 Key: HIVE-2344
 URL: https://issues.apache.org/jira/browse/HIVE-2344
 Project: Hive
  Issue Type: Bug
Reporter: He Yongqiang
Assignee: Amareshwari Sriramadasu
 Attachments: hive-patch-2344.txt, ppd_udf_col.q.out.txt


  select * from 
  (
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1)s where s.randum1230.1 limit 20;
 This is returning results...
 and 
  explain
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1
 shows that there is no filter.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-2344) filter is removed due to regression of HIVE-1538

2011-08-09 Thread John Sichi (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13081991#comment-13081991
 ] 

John Sichi commented on HIVE-2344:
--

+1.  Will commit when tests pass.

 filter is removed due to regression of HIVE-1538
 

 Key: HIVE-2344
 URL: https://issues.apache.org/jira/browse/HIVE-2344
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.8.0
Reporter: He Yongqiang
Assignee: Amareshwari Sriramadasu
 Fix For: 0.8.0

 Attachments: hive-patch-2344.txt, ppd_udf_col.q.out.txt


  select * from 
  (
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1)s where s.randum1230.1 limit 20;
 This is returning results...
 and 
  explain
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1
 shows that there is no filter.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-2344) filter is removed due to regression of HIVE-1538

2011-08-03 Thread Amareshwari Sriramadasu (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13079226#comment-13079226
 ] 

Amareshwari Sriramadasu commented on HIVE-2344:
---

Looking into.

 filter is removed due to regression of HIVE-1538
 

 Key: HIVE-2344
 URL: https://issues.apache.org/jira/browse/HIVE-2344
 Project: Hive
  Issue Type: Bug
Reporter: He Yongqiang
Assignee: Amareshwari Sriramadasu

  select * from 
  (
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1)s where s.randum1230.1 limit 20;
 This is returning results...
 and 
  explain
  select type_bucket,randum123
  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) 
 a
  where randum123 =0.1
 shows that there is no filter.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira