[jira] Updated: (HIVE-802) Bug in DataNucleus prevents Hive from building if inside a dir with '+' in it

2010-09-09 Thread Carl Steinbach (JIRA)

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

Carl Steinbach updated HIVE-802:


Attachment: datanucleus-core-1.1.2-patched.jar

 Bug in DataNucleus prevents Hive from building if inside a dir with '+' in it
 -

 Key: HIVE-802
 URL: https://issues.apache.org/jira/browse/HIVE-802
 Project: Hadoop Hive
  Issue Type: Bug
  Components: Build Infrastructure
Affects Versions: 0.5.0
Reporter: Todd Lipcon
Assignee: Arvind Prabhakar
 Attachments: datanucleus-core-1.1.2-patched.jar


 There's a bug in DataNucleus that causes this issue:
 http://www.jpox.org/servlet/jira/browse/NUCCORE-371
 To reproduce, simply put your hive source tree in a directory that contains a 
 '+' character.

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



[jira] Updated: (HIVE-1534) Join filters do not work correctly with outer joins

2010-09-09 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated HIVE-1534:
--

Status: Patch Available  (was: Open)

 Join filters do not work correctly with outer joins
 ---

 Key: HIVE-1534
 URL: https://issues.apache.org/jira/browse/HIVE-1534
 Project: Hadoop Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Amareshwari Sriramadasu
Assignee: Amareshwari Sriramadasu
 Attachments: patch-1534.txt


  SELECT * FROM T1 LEFT OUTER JOIN T2 ON (T1.c1=T2.c2 AND T1.c1  10)
 and  SELECT * FROM T1 RIGHT OUTER JOIN T2 ON (T1.c1=T2.c2 AND T2.c1  10)
 do not give correct results.

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



[jira] Updated: (HIVE-1534) Join filters do not work correctly with outer joins

2010-09-09 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu updated HIVE-1534:
--

Attachment: patch-1534.txt

I worked on separating filters for outer joins. 
Here is a patch which does not push filters for outer joins and filters are 
applied in the join implementation.

Patch would need some more work on SMBMapJoin. Please have look if the approach 
looks fine.

 Join filters do not work correctly with outer joins
 ---

 Key: HIVE-1534
 URL: https://issues.apache.org/jira/browse/HIVE-1534
 Project: Hadoop Hive
  Issue Type: Bug
  Components: Query Processor
Reporter: Amareshwari Sriramadasu
Assignee: Amareshwari Sriramadasu
 Attachments: patch-1534.txt


  SELECT * FROM T1 LEFT OUTER JOIN T2 ON (T1.c1=T2.c2 AND T1.c1  10)
 and  SELECT * FROM T1 RIGHT OUTER JOIN T2 ON (T1.c1=T2.c2 AND T2.c1  10)
 do not give correct results.

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



[jira] Commented: (HIVE-1613) hive --service jar looks for hadoop version but was not defined

2010-09-09 Thread John Sichi (JIRA)

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

John Sichi commented on HIVE-1613:
--

+1.  Will commit.

 hive --service jar looks for hadoop version but was not defined
 ---

 Key: HIVE-1613
 URL: https://issues.apache.org/jira/browse/HIVE-1613
 Project: Hadoop Hive
  Issue Type: Bug
  Components: Clients
Affects Versions: 0.5.1
Reporter: Edward Capriolo
Assignee: Edward Capriolo
Priority: Blocker
 Fix For: 0.6.0, 0.7.0

 Attachments: hive-1613.patch.txt


 hive --service jar fails. I have to open another ticket to clean up the 
 scripts and unify functions like version detection.

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



[jira] Updated: (HIVE-1613) hive --service jar looks for hadoop version but was not defined

2010-09-09 Thread John Sichi (JIRA)

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

John Sichi updated HIVE-1613:
-

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

Committed.  Thanks Edward!


 hive --service jar looks for hadoop version but was not defined
 ---

 Key: HIVE-1613
 URL: https://issues.apache.org/jira/browse/HIVE-1613
 Project: Hadoop Hive
  Issue Type: Bug
  Components: Clients
Affects Versions: 0.5.1
Reporter: Edward Capriolo
Assignee: Edward Capriolo
Priority: Blocker
 Fix For: 0.6.0, 0.7.0

 Attachments: hive-1613.patch.txt


 hive --service jar fails. I have to open another ticket to clean up the 
 scripts and unify functions like version detection.

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



[jira] Created: (HIVE-1625) Added implementation to HivePreparedStatement, HiveBaseResultSet and HiveQueryResultSet.

2010-09-09 Thread Sean Flatley (JIRA)
Added implementation to HivePreparedStatement, HiveBaseResultSet and 
HiveQueryResultSet.


 Key: HIVE-1625
 URL: https://issues.apache.org/jira/browse/HIVE-1625
 Project: Hadoop Hive
  Issue Type: Improvement
Reporter: Sean Flatley
Assignee: Sean Flatley


We implemented several of the HivePreparedStatement set methods, such as 
setString(int, String) and the means to substitute place holders in the SQL 
with the values set.  
HiveQueryResultSet and HiveBaseResultSet were enhanced so that getStatement() 
could be implemented.

See attached change log for details.

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



[jira] Updated: (HIVE-1625) Added implementation to HivePreparedStatement, HiveBaseResultSet and HiveQueryResultSet.

2010-09-09 Thread Sean Flatley (JIRA)

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

Sean Flatley updated HIVE-1625:
---

Attachment: changelog.txt
testJdbcDriver.log

Change log and test log file.

 Added implementation to HivePreparedStatement, HiveBaseResultSet and 
 HiveQueryResultSet.
 

 Key: HIVE-1625
 URL: https://issues.apache.org/jira/browse/HIVE-1625
 Project: Hadoop Hive
  Issue Type: Improvement
Reporter: Sean Flatley
Assignee: Sean Flatley
 Attachments: changelog.txt, testJdbcDriver.log


 We implemented several of the HivePreparedStatement set methods, such as 
 setString(int, String) and the means to substitute place holders in the SQL 
 with the values set.  
 HiveQueryResultSet and HiveBaseResultSet were enhanced so that getStatement() 
 could be implemented.
 See attached change log for details.

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



[jira] Updated: (HIVE-1546) Ability to plug custom Semantic Analyzers for Hive Grammar

2010-09-09 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan updated HIVE-1546:
---

Attachment: Howl_Semantic_Analysis.txt

@Namit,
As far as I understand, Hooks were designed to run before or after the query 
executes, not while query is getting executing. By executing a query I mean 
(generating AST, doing semantic analysis of that AST which includes necessary 
metadata operations, building a query plan and running the plan). If that was 
how hook were intended to be used I am not clear how they will be used in this 
scenario. In Howl its not just a list of metadata operations that we want to 
allow or disallow, there is a bit more semantic analysis that we do which 
includes doing metadata operation on metadata repository. Its not really before 
or after query is executed, it is one of the parts of query processing itself. 
You also hinted that hooks can be modified and more information can be provided 
in those methods. If thats what we do then I think we are loosing semantics on 
hooks which is something which is fired before and after the query executes, as 
hook will now be running while query is executing. Its entirely possible that I 
have misunderstood hooks and their intended usage. You obviously know more then 
so feel free to correct me. 
I am also attaching what semantic analysis that we are doing for everyone's 
reference for better context.

 Ability to plug custom Semantic Analyzers for Hive Grammar
 --

 Key: HIVE-1546
 URL: https://issues.apache.org/jira/browse/HIVE-1546
 Project: Hadoop Hive
  Issue Type: Improvement
  Components: Metastore
Affects Versions: 0.7.0
Reporter: Ashutosh Chauhan
Assignee: Ashutosh Chauhan
 Fix For: 0.7.0

 Attachments: hive-1546-3.patch, hive-1546-4.patch, hive-1546.patch, 
 hive-1546_2.patch, Howl_Semantic_Analysis.txt


 It will be useful if Semantic Analysis phase is made pluggable such that 
 other projects can do custom analysis of hive queries before doing metastore 
 operations on them. 

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



[jira] Created: (HIVE-1626) stop using java.util.Stack

2010-09-09 Thread John Sichi (JIRA)
stop using java.util.Stack
--

 Key: HIVE-1626
 URL: https://issues.apache.org/jira/browse/HIVE-1626
 Project: Hadoop Hive
  Issue Type: Improvement
  Components: Query Processor
Affects Versions: 0.7.0
Reporter: John Sichi
Assignee: John Sichi
 Fix For: 0.7.0


We currently use Stack as part of the generic node walking library.  Stack 
should not be used for this since its inheritance from Vector incurs 
superfluous synchronization overhead.

Most projects end up adding an ArrayStack implementation and using that instead.


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



[jira] Updated: (HIVE-307) LOAD DATA LOCAL INPATH fails when the table already contains a file of the same name

2010-09-09 Thread Kirk True (JIRA)

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

Kirk True updated HIVE-307:
---

Attachment: HIVE-307.patch

 LOAD DATA LOCAL INPATH fails when the table already contains a file of the 
 same name
 --

 Key: HIVE-307
 URL: https://issues.apache.org/jira/browse/HIVE-307
 Project: Hadoop Hive
  Issue Type: Bug
  Components: Query Processor
Affects Versions: 0.5.0
Reporter: Zheng Shao
Priority: Critical
 Attachments: HIVE-307.patch


 Failed with exception checkPaths: 
 /user/zshao/warehouse/tmp_user_msg_history/test_user_msg_history already 
 exists
 FAILED: Execution Error, return code 1 from 
 org.apache.hadoop.hive.ql.exec.MoveTask

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



[jira] Updated: (HIVE-1625) Added implementation to HivePreparedStatement, HiveBaseResultSet and HiveQueryResultSet.

2010-09-09 Thread Sean Flatley (JIRA)

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

Sean Flatley updated HIVE-1625:
---

Attachment: HIVE-1625.patch

Patch.

 Added implementation to HivePreparedStatement, HiveBaseResultSet and 
 HiveQueryResultSet.
 

 Key: HIVE-1625
 URL: https://issues.apache.org/jira/browse/HIVE-1625
 Project: Hadoop Hive
  Issue Type: Improvement
Reporter: Sean Flatley
Assignee: Sean Flatley
 Attachments: changelog.txt, HIVE-1625.patch, testJdbcDriver.log


 We implemented several of the HivePreparedStatement set methods, such as 
 setString(int, String) and the means to substitute place holders in the SQL 
 with the values set.  
 HiveQueryResultSet and HiveBaseResultSet were enhanced so that getStatement() 
 could be implemented.
 See attached change log for details.

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