[jira] Commented: (HIVE-1501) when generating reentrant INSERT for index rebuild, quote identifiers using backticks

2010-11-10 Thread John Sichi (JIRA)

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

John Sichi commented on HIVE-1501:
--

+1 on the latest.  Will commit when tests pass.


 when generating reentrant INSERT for index rebuild, quote identifiers using 
 backticks
 -

 Key: HIVE-1501
 URL: https://issues.apache.org/jira/browse/HIVE-1501
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.7.0
Reporter: John Sichi
Assignee: Skye Berghel
 Fix For: 0.7.0

 Attachments: 1501.patch, 1501_new_tests.patch, 1501_with_tests.patch, 
 HIVE-1501.4.patch, HIVE-1501.5.patch, HIVE-1501.6.patch


 Yongqiang, you mentioned that you weren't able to do this due to SORT BY not 
 accepting them.  The SORT BY is gone now as of HIVE-1494 (and SORT BY needs 
 to be fixed anyway).

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



[jira] Commented: (HIVE-1501) when generating reentrant INSERT for index rebuild, quote identifiers using backticks

2010-11-08 Thread John Sichi (JIRA)

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

John Sichi commented on HIVE-1501:
--

* HiveUtils.getUnparsedColumnNamesFromFieldSchema has an extra line of 
whitespace in between the Javadoc and the method declaration.

(If you're using Eclipse for editing, it's easy to end up with extraneous 
whitespace.)

 when generating reentrant INSERT for index rebuild, quote identifiers using 
 backticks
 -

 Key: HIVE-1501
 URL: https://issues.apache.org/jira/browse/HIVE-1501
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.7.0
Reporter: John Sichi
Assignee: Skye Berghel
 Fix For: 0.7.0

 Attachments: 1501.patch, 1501_new_tests.patch, 1501_with_tests.patch, 
 HIVE-1501.4.patch, HIVE-1501.5.patch


 Yongqiang, you mentioned that you weren't able to do this due to SORT BY not 
 accepting them.  The SORT BY is gone now as of HIVE-1494 (and SORT BY needs 
 to be fixed anyway).

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



[jira] Commented: (HIVE-1501) when generating reentrant INSERT for index rebuild, quote identifiers using backticks

2010-11-08 Thread John Sichi (JIRA)

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

John Sichi commented on HIVE-1501:
--

(Other than those, this one should be ready to go.)

 when generating reentrant INSERT for index rebuild, quote identifiers using 
 backticks
 -

 Key: HIVE-1501
 URL: https://issues.apache.org/jira/browse/HIVE-1501
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.7.0
Reporter: John Sichi
Assignee: Skye Berghel
 Fix For: 0.7.0

 Attachments: 1501.patch, 1501_new_tests.patch, 1501_with_tests.patch, 
 HIVE-1501.4.patch, HIVE-1501.5.patch


 Yongqiang, you mentioned that you weren't able to do this due to SORT BY not 
 accepting them.  The SORT BY is gone now as of HIVE-1494 (and SORT BY needs 
 to be fixed anyway).

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



[jira] Commented: (HIVE-1501) when generating reentrant INSERT for index rebuild, quote identifiers using backticks

2010-11-04 Thread John Sichi (JIRA)

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

John Sichi commented on HIVE-1501:
--

+1.  Will commit when tests pass.

 when generating reentrant INSERT for index rebuild, quote identifiers using 
 backticks
 -

 Key: HIVE-1501
 URL: https://issues.apache.org/jira/browse/HIVE-1501
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.7.0
Reporter: John Sichi
Assignee: Skye Berghel
 Fix For: 0.7.0

 Attachments: 1501.patch, 1501_new_tests.patch, 1501_with_tests.patch, 
 HIVE-1501.4.patch


 Yongqiang, you mentioned that you weren't able to do this due to SORT BY not 
 accepting them.  The SORT BY is gone now as of HIVE-1494 (and SORT BY needs 
 to be fixed anyway).

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



[jira] Commented: (HIVE-1501) when generating reentrant INSERT for index rebuild, quote identifiers using backticks

2010-10-27 Thread He Yongqiang (JIRA)

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

He Yongqiang commented on HIVE-1501:


String indexCols = MetaStoreUtils.getColumnNamesFromFieldSchema(indexField);
indexCols is a column list, like:
col1, col2,col3
After the change, it should be `col1`, `col2`, `col3`...

So the whole command should be like:
INSERT OVERWRITE TABLE `table_name`
PARTITION (...)
SELECT `col1`, `col2`, `col3`..., `INPUT__FILE__NAME`,  collect_set 
(`BLOCK__OFFSET__INSIDE__FILE`)
FROM `base_table` 
...
GROUP BY `col1`, `col2`, `col3`..., `INPUT__FILE__NAME`


 when generating reentrant INSERT for index rebuild, quote identifiers using 
 backticks
 -

 Key: HIVE-1501
 URL: https://issues.apache.org/jira/browse/HIVE-1501
 Project: Hive
  Issue Type: Bug
  Components: Indexing
Affects Versions: 0.7.0
Reporter: John Sichi
Assignee: Skye Berghel
 Fix For: 0.7.0

 Attachments: 1501.patch, 1501_with_tests.patch


 Yongqiang, you mentioned that you weren't able to do this due to SORT BY not 
 accepting them.  The SORT BY is gone now as of HIVE-1494 (and SORT BY needs 
 to be fixed anyway).

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