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
- Version or commit-id (e.g. v0.1.0 or 8b23a93):e1319c52cf87b17a98008ae0dda79b72237d9ed1- Hardware parameters:Mac M1 ARM 16GB Memory
- OS type:OSX- Others:
Actual Behavior
table "cc" does not exist
Expected Behavior
COUNT(table1.pk)
4
Steps to Reproduce
CREATE TABLE `BB` (`col_char_key` char(1));
CREATE TABLE `CC` ( `pk` int, `col_datetime_key` datetime);
INSERT INTO `BB` VALUES ('X');
INSERT INTO `CC` VALUES (1,'2027-03-17 00:10:00'), (2,'2004-11-14 12:46:43');
SELECT COUNT(table1.pk) FROM CC table1 JOIN BB table3 JOIN CC table2
WHERE (table3.col_char_key < table2.col_datetime_key);
Activity
ouyuanning commentedon Jun 22, 2022
as rule : https://github.com/matrixorigin/docs/blob/main/design/column_naming_rules.md
you can check sql:
SELECT COUNT(table1.pk) FROM `CC` table1 JOIN `BB` table3 JOIN `CC` table2
WHERE (table3.col_char_key < table2.col_datetime_key);
dengn commentedon Jun 22, 2022
It's not clear in this document about the table name rule.
domingozhang commentedon Jun 22, 2022
https://github.com/matrixorigin/docs/blob/main/design/column_naming_rules.md has been updated.
In the parser of MO, all table name or column name with ` is case sensitive. In DML, it needs to be used with ` as well.
aressu1985 commentedon Jun 27, 2022
fixed