MySQL Forums
Forum List  »  Partitioning

Re: Partitioning with timestamp column
Posted by: Rick James
Date: August 03, 2012 07:30PM

Could we see the rest of the CREATE TABLE.

This technique will run into another problem with newer systems -- TIMESTAMP is getting stuff after the decimal point, hence the error
ERROR 1697 (HY000): VALUES value for partition 'p0' must have type INT
I have not found a workaround for it.

Sorry, I forgot about the 'questionable' restriction:

http://bugs.mysql.com/bug.php?id=47176
http://bugs.mysql.com/bug.php?id=24245
http://bugs.mysql.com/bug.php?id=28928
http://bugs.mysql.com/bug.php?id=60440

Meanwhile, you are out of luck for using RANGE PARTITIONing on a TIMESTAMP.

Options: ReplyQuote


Subject
Views
Written By
Posted
8850
August 01, 2012 10:25PM
3164
August 02, 2012 09:26PM
2928
August 02, 2012 11:44PM
Re: Partitioning with timestamp column
3264
August 03, 2012 07:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.