xinyiZzz opened a new issue #5863: URL: https://github.com/apache/incubator-doris/issues/5863
**Describe the bug** Error query: ``` select b.C_NATION from A a join B b on a.D_DATEKEY = b.C_CITY join C c on b.C_CUSTKEY = c.P_PARTKEY and 'all' = 'all' join D d on c.P_PARTKEY = d.S_SUPPKEY limit 0; > ERROR 1054 (42S22): errCode = 2, detailMessage = Unknown column 'C_CUSTKEY' in 'b' ``` Remove` 'all' ='all' `to succeed: ``` select b.C_NATION from A a join B b on a.D_DATEKEY = b.C_CITY join C c on b.C_CUSTKEY = c.P_PARTKEY join D d on c.P_PARTKEY = d.S_SUPPKEY limit 0; ``` Note that the 4 tables in the above query need to have data. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
