[jira] [Updated] (HIVE-2942) substr on string containing UTF-8 characters produces StringIndexOutOfBoundsException

2012-04-15 Thread Paul Yang (Updated) (JIRA)

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

Paul Yang updated HIVE-2942:


   Resolution: Fixed
Fix Version/s: 0.10
   Status: Resolved  (was: Patch Available)

Whoops, forgot to mention that I was running the tests too - sorry Namit. They 
passed, and I committed. Thanks Kevin!

 substr on string containing UTF-8 characters produces 
 StringIndexOutOfBoundsException
 -

 Key: HIVE-2942
 URL: https://issues.apache.org/jira/browse/HIVE-2942
 Project: Hive
  Issue Type: Bug
Reporter: Kevin Wilfong
Assignee: Kevin Wilfong
 Fix For: 0.10

 Attachments: HIVE-2942.D2727.1.patch


 After HIVE-2792, the substr function produces a 
 StringIndexOutOfBoundsException when called on a string containing UTF-8 
 characters without the length argument being present.
 E.g.
 select substr(str, 1) from table1;
 now fails with that exception if str contains a UTF-8 character for any row 
 in the table.

--
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] [Updated] (HIVE-2556) upgrade script 008-HIVE-2246.mysql.sql contains syntax errors

2011-11-08 Thread Paul Yang (Updated) (JIRA)

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

Paul Yang updated HIVE-2556:


  Resolution: Fixed
Release Note: Committed to trunk and branch 0.8.0 Thanks Ning!
  Status: Resolved  (was: Patch Available)

 upgrade script 008-HIVE-2246.mysql.sql contains syntax errors
 -

 Key: HIVE-2556
 URL: https://issues.apache.org/jira/browse/HIVE-2556
 Project: Hive
  Issue Type: Bug
Affects Versions: 0.8.0
Reporter: Ning Zhang
Assignee: Ning Zhang
 Fix For: 0.8.0, 0.9.0

 Attachments: D309.1.patch, HIVE-2556.patch


 source script_name gives syntax errors. 

--
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] [Updated] (HIVE-2368) Slow dropping of partitions caused by full listing of storage descriptors

2011-10-25 Thread Paul Yang (Updated) (JIRA)

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

Paul Yang updated HIVE-2368:


Summary: Slow dropping of partitions caused by full listing of storage 
descriptors  (was: Determining whether a Column Descriptor is unused may take 
too long)

 Slow dropping of partitions caused by full listing of storage descriptors
 -

 Key: HIVE-2368
 URL: https://issues.apache.org/jira/browse/HIVE-2368
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Reporter: Sohan Jain
 Attachments: HIVE-2368.1.patch


 To determine if a column descriptor is unused, we call 
 listStorageDescriptorsWithCD(), which may return a big list of SDs.  This can 
 severely slow down dropping partitions.
 We can add a maximum number of SDs to return, and just ask for 1 SD, since we 
 are just doing an existential check.

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