You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#6638 seems to have broken this query (based on our 101_initial_cluster.sh cluster examples):
mysql> SELECT column_name FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = (SELECT SCHEMA()) AND TABLE_NAME = 'product' AND COLUMN_KEY = 'PRI';
ERROR 1235 (HY000): vtgate: http://localhost:15001/: comparison with `table_schema` column not supported
However, bare comparisons with a static value still works:
mysql> SELECT column_name FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = "commerce" AND TABLE_NAME = 'product' AND COLUMN_KEY = 'PRI';
+-------------+
| COLUMN_NAME |
+-------------+
| sku |
+-------------+
if you revert #6638 , and run the first query, it works as expected:
mysql> SELECT column_name FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = (SELECT SCHEMA()) AND TABLE_NAME = 'product' AND COLUMN_KEY = 'PRI';
+-------------+
| COLUMN_NAME |
+-------------+
| sku |
+-------------+
This has broken Apache Sqoop, which generates queries like this, and the form of the query cannot be overridden (at least in Sqoop 1.4.7)
The text was updated successfully, but these errors were encountered:
In the specific case of Sqoop, this query can be avoided (and Sqoop can be made to work), by using the --split-by option, and explicitly specifying the PK for the table in question.
#6638 seems to have broken this query (based on our
101_initial_cluster.sh
cluster examples):However, bare comparisons with a static value still works:
if you revert #6638 , and run the first query, it works as expected:
This has broken Apache Sqoop, which generates queries like this, and the form of the query cannot be overridden (at least in Sqoop 1.4.7)
The text was updated successfully, but these errors were encountered: