[jira] [Commented] (HIVE-2901) Hive union with NULL constant and string in same column returns all null

2013-01-09 Thread Hudson (JIRA)

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

Hudson commented on HIVE-2901:
--

Integrated in Hive-trunk-hadoop2 #54 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2/54/])
HIVE-2901 Hive union with NULL constant and string in same column returns 
all null
(Navis via namit) (Revision 1310179)

 Result = ABORTED
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1310179
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* /hive/trunk/ql/src/test/queries/clientpositive/union_null.q
* /hive/trunk/ql/src/test/results/clientpositive/union_null.q.out


 Hive union with NULL constant and string in same column returns all null
 

 Key: HIVE-2901
 URL: https://issues.apache.org/jira/browse/HIVE-2901
 Project: Hive
  Issue Type: Bug
Reporter: Kevin Wilfong
Assignee: Navis
Priority: Critical
 Fix For: 0.9.0

 Attachments: ASF.LICENSE.NOT.GRANTED--HIVE-2901.D2541.1.patch, 
 ASF.LICENSE.NOT.GRANTED--HIVE-2901.D2541.2.patch, 
 ASF.LICENSE.NOT.GRANTED--HIVE-2901.D2541.3.patch


 select x from (select value as x from src union all select NULL as x from 
 src)a;
 This query produces all nulls, where value is a string column.
 Notably, 
 select x from (select key as x from src union all select NULL as x from src)a;
 where key is a string, but can be cast to a double, the query returns correct 
 results.

--
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-2901) Hive union with NULL constant and string in same column returns all null

2012-04-06 Thread Hudson (Commented) (JIRA)

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

Hudson commented on HIVE-2901:
--

Integrated in Hive-trunk-h0.21 #1357 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1357/])
HIVE-2901 Hive union with NULL constant and string in same column returns 
all null
(Navis via namit) (Revision 1310179)

 Result = SUCCESS
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1310179
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/FunctionRegistry.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* /hive/trunk/ql/src/test/queries/clientpositive/union_null.q
* /hive/trunk/ql/src/test/results/clientpositive/union_null.q.out


 Hive union with NULL constant and string in same column returns all null
 

 Key: HIVE-2901
 URL: https://issues.apache.org/jira/browse/HIVE-2901
 Project: Hive
  Issue Type: Bug
Reporter: Kevin Wilfong
Assignee: Navis
Priority: Critical
 Attachments: HIVE-2901.D2541.1.patch, HIVE-2901.D2541.2.patch, 
 HIVE-2901.D2541.3.patch


 select x from (select value as x from src union all select NULL as x from 
 src)a;
 This query produces all nulls, where value is a string column.
 Notably, 
 select x from (select key as x from src union all select NULL as x from src)a;
 where key is a string, but can be cast to a double, the query returns correct 
 results.

--
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-2901) Hive union with NULL constant and string in same column returns all null

2012-04-05 Thread Phabricator (Commented) (JIRA)

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

Phabricator commented on HIVE-2901:
---

njain has accepted the revision HIVE-2901 [jira] Hive union with NULL constant 
and string in same column returns all null.

REVISION DETAIL
  https://reviews.facebook.net/D2541

BRANCH
  DPAL-1029


 Hive union with NULL constant and string in same column returns all null
 

 Key: HIVE-2901
 URL: https://issues.apache.org/jira/browse/HIVE-2901
 Project: Hive
  Issue Type: Bug
Reporter: Kevin Wilfong
Assignee: Navis
Priority: Critical
 Attachments: HIVE-2901.D2541.1.patch, HIVE-2901.D2541.2.patch, 
 HIVE-2901.D2541.3.patch


 select x from (select value as x from src union all select NULL as x from 
 src)a;
 This query produces all nulls, where value is a string column.
 Notably, 
 select x from (select key as x from src union all select NULL as x from src)a;
 where key is a string, but can be cast to a double, the query returns correct 
 results.

--
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