MySQL gateway not allowing to SHOW FULL TABLES
TheMP opened this issue · comments
TheMP commented
Hi, one the libraries I use tried to issue a following query:
SHOW FULL TABLES FROM plyql1
LIKE '%'.
This clearly is not working for two reasons:
- SHOW FULL TABLES is currently unsupported.
- druid tables are not really in plyql1 database (it is acting weird), which can be verified by: the following:
mysql> use plyql1;
Database changed
mysql> select DATABASE();
+------------+
| DATABASE() |
+------------+
| plyql1 |
+------------+
mysql> show tables;
+--------------------------+
| Tables_in_database |
+--------------------------+
| COLUMNS |
| SCHEMATA |
| TABLES |
| cc-causecode-dev |
| new-gi-test |
| nicer-gi-no-imsi-staging |
| nicer-gi-staging |
| nicer-mme-staging |
| wikipedia |
+--------------------------+
mysql> describe plyql1;
Empty set (0.00 sec)
Vadim Ogievetsky commented
SHOW FULL TABLES
was fixed yesterday: #34
As for describe plyql1;
will look into it.
Vadim Ogievetsky commented
Wait plyql1
pretends to be a database. describe plyql1;
should not work because there is no table called plyql1
ideally it should return an error.
TheMP commented
Oops you are right, describe should return an error. I had a brainfart since it shouldn't even work ;)