我正在运行以下查询
INSERT INTO TABLE X(A,B,C) select A,B,C FROM Y
FAILED: SemanticException 1:27 '[A, B, C]' in insert schema specification are not found among regular columns of default.X nor dynamic partition columns.. Error encountered near token 'C'
INSERT INTO TABLE X(a,b,c) select A,B,C FROM Y;
//no error
为什么insert语句需要列名是小写的?如果我执行“show create table A”,我看到列名是小写的原因是什么?
欢迎任何回答。提前谢谢。