[jira] [Commented] (HIVE-1517) ability to select across a database

2012-08-29 Thread Konstantin Boudnik (JIRA)

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

Konstantin Boudnik commented on HIVE-1517:
--

Do I understand correctly, that this fix has never been extended for the views?

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.10.patch, HIVE-1517.11.patch, 
 HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, HIVE-1517.3.patch, 
 HIVE-1517.4.patch, HIVE-1517.5.patch, HIVE-1517.6.patch, HIVE-1517.7.patch, 
 HIVE-1517.8.patch, HIVE-1517.9.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

--
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-1517) ability to select across a database

2011-02-24 Thread Carl Steinbach (JIRA)

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

Carl Steinbach commented on HIVE-1517:
--

Backported to branch-0.7

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.10.patch, 
 HIVE-1517.11.patch, HIVE-1517.2.patch.txt, HIVE-1517.3.patch, 
 HIVE-1517.4.patch, HIVE-1517.5.patch, HIVE-1517.6.patch, HIVE-1517.7.patch, 
 HIVE-1517.8.patch, HIVE-1517.9.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-23 Thread Carl Steinbach (JIRA)

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

Carl Steinbach commented on HIVE-1517:
--

@Yongqiang: This needs to get backported to 0.7.0. Let me know if you want me 
to do it. Thanks.

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.10.patch, 
 HIVE-1517.11.patch, HIVE-1517.2.patch.txt, HIVE-1517.3.patch, 
 HIVE-1517.4.patch, HIVE-1517.5.patch, HIVE-1517.6.patch, HIVE-1517.7.patch, 
 HIVE-1517.8.patch, HIVE-1517.9.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-23 Thread He Yongqiang (JIRA)

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

He Yongqiang commented on HIVE-1517:


@Carl, it will great if you can do it. Thanks.

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.10.patch, 
 HIVE-1517.11.patch, HIVE-1517.2.patch.txt, HIVE-1517.3.patch, 
 HIVE-1517.4.patch, HIVE-1517.5.patch, HIVE-1517.6.patch, HIVE-1517.7.patch, 
 HIVE-1517.8.patch, HIVE-1517.9.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-18 Thread John Sichi (JIRA)

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

John Sichi commented on HIVE-1517:
--

HBase tests are passing in Hudson.  Siying and Yongqiang, can you guys try 
rebooting your dev boxes?  There were issues with port conflicts with FB dev 
boxes before, so maybe you still have some lingering processes/ports.


 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch, HIVE-1517.4.patch, HIVE-1517.5.patch, HIVE-1517.6.patch, 
 HIVE-1517.7.patch, HIVE-1517.8.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-18 Thread Siying Dong (JIRA)

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

Siying Dong commented on HIVE-1517:
---

John, how about for this JIRA, we just drop support (I'll modify the codes to 
report error if the view is referenced as db.view_name) for referencing 
foreign view and we do it as a follow-up?

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch, HIVE-1517.4.patch, HIVE-1517.5.patch, HIVE-1517.6.patch, 
 HIVE-1517.7.patch, HIVE-1517.8.patch, HIVE-1517.9.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-18 Thread John Sichi (JIRA)

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

John Sichi commented on HIVE-1517:
--

Fine with me.


 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch, HIVE-1517.4.patch, HIVE-1517.5.patch, HIVE-1517.6.patch, 
 HIVE-1517.7.patch, HIVE-1517.8.patch, HIVE-1517.9.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-16 Thread Namit Jain (JIRA)

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

Namit Jain commented on HIVE-1517:
--

Ideally, /PREFIX/db should be created as part of locking. You dont need to 
explicitly lock the db.

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch, HIVE-1517.4.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-16 Thread Namit Jain (JIRA)

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

Namit Jain commented on HIVE-1517:
--

Sorry, looked at the code again - your locking changes are good - will review 
the remaining patch

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch, HIVE-1517.4.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-16 Thread Namit Jain (JIRA)

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

Namit Jain commented on HIVE-1517:
--

The code changes look good - but I am getting a lot of errors while running 
tests.
Can you run tests again ?

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch, HIVE-1517.4.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-16 Thread Namit Jain (JIRA)

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

Namit Jain commented on HIVE-1517:
--

archive.q is the first test that fails - it works fine when run stand alone. 
I havent debugged further

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch, HIVE-1517.4.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-16 Thread Siying Dong (JIRA)

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

Siying Dong commented on HIVE-1517:
---

I applied that patch to a clean directory and I am running the tests. It is 
still running but archive.q already passed. Maybe try to do a clean before test?

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch, HIVE-1517.4.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-16 Thread Namit Jain (JIRA)

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

Namit Jain commented on HIVE-1517:
--

+1

For some reason, the tests are failing in my environment.
While I fix the problem, Yongqiang, can you commit ?

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch, HIVE-1517.4.patch, HIVE-1517.5.patch, HIVE-1517.6.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-16 Thread He Yongqiang (JIRA)

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

He Yongqiang commented on HIVE-1517:


running tests, will commit after tests pass.

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch, HIVE-1517.4.patch, HIVE-1517.5.patch, HIVE-1517.6.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-15 Thread Siying Dong (JIRA)

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

Siying Dong commented on HIVE-1517:
---

Namit, Driver.java just lock db of the table when locking any table, which 
should be the same reason as you explained DROP DATABASE does not work while 
any table/partition is
 being accessed/modified. Also, zookeeper path are something like 
/PREFIX/db/table_name. Without locking db in advance, parent path is missing 
and locking the tables will fail.

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch, HIVE-1517.4.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-09 Thread Carl Steinbach (JIRA)

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

Carl Steinbach commented on HIVE-1517:
--

 `db.table` Should be considered ilegal. Is that right?

I think that's correct. See the following page for a complete discussion: 
http://dev.mysql.com/doc/refman/5.0/en/identifiers.html

It also looks like we need to tighten up the way the grammar handles 
Identifiers:

{code}
Identifier
:
(Letter | Digit) (Letter | Digit | '_')*
| '`' RegexComponent+ '`'
;

RegexComponent
: 'a'..'z' | 'A'..'Z' | '0'..'9' | '_'
| PLUS | STAR | QUESTION | MINUS | DOT
| LPAREN | RPAREN | LSQUARE | RSQUARE | LCURLY | RCURLY
| BITWISEXOR | BITWISEOR | DOLLAR
;
{code}

Defining quoted identifiers in terms of RegexComponent permits a lot of illegal 
characters.
I think we actually want something like this:


{code}
Identifier
: (Letter | Digit) (Letter | Digit | '_')*
| '`' (Letter | Digit) (Letter | Digit | '_')* '`'
;
{code}

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-09 Thread Siying Dong (JIRA)

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

Siying Dong commented on HIVE-1517:
---

https://reviews.apache.org/r/413/diff/
to better browse the patch.

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-09 Thread Siying Dong (JIRA)

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

Siying Dong commented on HIVE-1517:
---

Looks like we have some trouble with printing token location in error message. 
new CommonToken(int, String) doesn't include location information there, so 
that the error message will always be line 0:-1. Maybe we have to move from 
this approach to separate tokens for db and tab name.

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt, 
 HIVE-1517.3.patch


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-08 Thread Siying Dong (JIRA)

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

Siying Dong commented on HIVE-1517:
---

I notice that Carl's patch added cross database support for 'create table', 
'load', etc, but now 'drop table' and 'analyze table', which are very hard 
since they currently support dots as other meaning and would cause the 
ambiguity that we are not ready to handle. Also, it's hard for 'drop table' or 
'analyze table' to give accurate error message if people try to use db.table. 
Do you think we want to keep it or we should remove all supports for DDL 
queries?

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-08 Thread Carl Steinbach (JIRA)

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

Carl Steinbach commented on HIVE-1517:
--

I'm not sure I understand the problem with DROP TABLE. How is it ambiguous?

As for ANALYZE TABLE, it looks like the definition of the tabTypeExpr
rule in the grammar is more complicated than it needs to be? Isn't this
just tableName from my patch?

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-08 Thread Siying Dong (JIRA)

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

Siying Dong commented on HIVE-1517:
---

Sorry, I mean DESCRIBE. DROP TABLE is fine.
You can do something like 'desc extended src.key;'

For ANALYZE TABLE, the syntax is similar to DESCRIBE, though I'm not sure how 
it is used.

Those are the two that I found you didn't replace Identification to tableName.

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-08 Thread Siying Dong (JIRA)

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

Siying Dong commented on HIVE-1517:
---

Looks like ANALYZE TABLE doesn't need the table.xxx syntax. I'll change that. 
Then the only problem left is DESCRIBE.

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2011-02-07 Thread Carl Steinbach (JIRA)

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

Carl Steinbach commented on HIVE-1517:
--

Quick note about the patch: the tests fail unless database.q is prepended with 
hive.support.concurrency = false. I didn't have time to workout the locking 
issues.


 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Siying Dong
Priority: Blocker
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt, HIVE-1517.2.patch.txt


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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




[jira] Commented: (HIVE-1517) ability to select across a database

2010-12-02 Thread Carl Steinbach (JIRA)

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

Carl Steinbach commented on HIVE-1517:
--

@Namit: Yes, I'm still working on this. I have everything working except for 
views. When do you need this done by?

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Carl Steinbach
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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



[jira] Commented: (HIVE-1517) ability to select across a database

2010-12-02 Thread Namit Jain (JIRA)

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

Namit Jain commented on HIVE-1517:
--

We would like to use it right away

 ability to select across a database
 ---

 Key: HIVE-1517
 URL: https://issues.apache.org/jira/browse/HIVE-1517
 Project: Hive
  Issue Type: Improvement
  Components: Query Processor
Reporter: Namit Jain
Assignee: Carl Steinbach
 Fix For: 0.7.0

 Attachments: HIVE-1517.1.patch.txt


 After  https://issues.apache.org/jira/browse/HIVE-675, we need a way to be 
 able to select across a database for this feature to be useful.
 For eg:
 use db1
 create table foo();
 use db2
 select .. from db1.foo.

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