StarRocks, a Linux Foundation project, is a next-generation sub-second MPP OLAP database for full analytics scenarios, including multi-dimensional analytics, real-time analytics, and ad-hoc queries.
With Map<TableName, Set<String>> allTouchedColumns = AnalyzerUtils.collectAllSelectTableColumns(statement);,
all the columns of quickstart.test_table t1
and id, subject, score of quickstart.test_table2 t2 should exist in allTouchedColumns
Real behavior (Required)
But there are only id of quickstart.test_table t1 and id, subject, score of quickstart.test_table2 t2 in allTouchedColumns
Steps to reproduce the behavior (Required)
1, Table prepare
2, Reproduce
Expected behavior (Required)
AnalyzerUtils#collectAllSelectTableColumns()
With
Map<TableName, Set<String>> allTouchedColumns = AnalyzerUtils.collectAllSelectTableColumns(statement);
, all the columns ofquickstart.test_table t1
andid, subject, score
ofquickstart.test_table2 t2
should exist inallTouchedColumns
Real behavior (Required)
But there are only
id
ofquickstart.test_table t1
andid, subject, score
ofquickstart.test_table2 t2
inallTouchedColumns
StarRocks version (Required)
main