This repository has been archived by the owner on Dec 28, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Column pruning not handled properly #163
Labels
Comments
@birdstorm After fixing this issue, regression testing is needed. |
Schema mysql> desc full_data_type_table;
+---------------+-----------------------+------+------+-------------------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------------+-----------------------+------+------+-------------------+-------+
| id_dt | int(11) | NO | PRI | NULL | |
| tp_varchar | varchar(45) | YES | | NULL | |
| tp_datetime | datetime | YES | | CURRENT_TIMESTAMP | |
| tp_blob | blob | YES | | NULL | |
| tp_binary | binary(2) | YES | | NULL | |
| tp_date | date | YES | | NULL | |
| tp_timestamp | timestamp | NO | | CURRENT_TIMESTAMP | |
| tp_year | year UNSIGNED | YES | | NULL | |
| tp_bigint | bigint(20) | YES | | NULL | |
| tp_decimal | decimal | YES | | NULL | |
| tp_double | double | YES | | NULL | |
| tp_float | float | YES | | NULL | |
| tp_int | int(11) | YES | MUL | NULL | |
| tp_mediumint | mediumint(9) | YES | | NULL | |
| tp_real | double | YES | | NULL | |
| tp_smallint | smallint(6) | YES | | NULL | |
| tp_tinyint | tinyint(4) | YES | | NULL | |
| tp_char | char(10) | YES | | NULL | |
| tp_nvarchar | varchar(40) | YES | | NULL | |
| tp_longtext | longtext | YES | | NULL | |
| tp_mediumtext | mediumtext | YES | | NULL | |
| tp_text | text | YES | | NULL | |
| tp_tinytext | tinytext | YES | | NULL | |
| tp_bit | bit(1) | YES | | NULL | |
| tp_time | time | YES | | NULL | |
| tp_enum | enum('1','2','3','4') | YES | | NULL | |
| tp_set | set('a','b','c','d') | YES | | NULL | |
+---------------+-----------------------+------+------+-------------------+-------+
27 rows in set (0.01 sec) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
SQL:
Plan:
Seem we didn't properly prune the plan and pushed down too many things.
The text was updated successfully, but these errors were encountered: