Bug #72625 Select on a Column with partition by List Columns doesn't return any value
Submitted: 13 May 2014 1:57 Modified: 13 May 2014 23:06
Reporter: Luciano C Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Partitions Severity:S3 (Non-critical)
Version:MySQL Community Server (GPL) - 5.6.15-log, 5.7.5, 5.6.19 OS:Linux
Assigned to: CPU Architecture:Any
Tags: List Columns, partitions

[13 May 2014 1:57] Luciano C
Description:
Querying a table with a partitions defined BY List Columns(col1) doesn't return rows.

There are rows with the condition, applying col1 Like '...%' does. 

Group By col1 return rows to for this conditions.

How to repeat:
Import the dump added to this report.

Execute:

> Select *
from test_table1
where res_estado = 'OPEN'

--> No rows

Execute:

> Select res_estado, count(*)

from test_table1

group by res_estado

+ --------------- + ------------- +

| res_estado      | count(*)      |

+ --------------- + ------------- +

| ACCEPTED        | 50            |

| CANCELED        | 50            |

| CONFIRMED       | 50            |

| LOCKED          | 50            |

| OPEN            | 50            |

+ --------------- + ------------- +

5 rows
[13 May 2014 1:58] Luciano C
Added MySql version
[13 May 2014 2:03] Luciano C
dump file with sample data for bug replication

Attachment: dump_bug.sql (application/octet-stream, text), 135.54 KiB.

[13 May 2014 8:22] MySQL Verification Team
Hello Luciano,

Thank you for the report.
Verified as described.

Thanks,
Umesh
[13 May 2014 23:06] Mattias Jonsson
Duplicate of bug#71095.