New here. I have a question about the Flink Starro...
# questions-and-troubleshooting
s
New here. I have a question about the Flink Starrocks Connector issue: When Flink builds the query_plan with projection, it directly appends
count(*)
using StringBuilder. However, the current HTTP controller drops such plans because of the hasAggregation() check: https://github.com/StarRocks/starrocks/blob/c3df3ac17bcba154aa09a7d2518bb904f39b8078/fe/fe-core/src/main/java/com/starrocks/http/rest/TableQueryPlanAction.java#L249 Therefore, we use
SELECT 1 FROM db.tbl
to avoid transferring real table data, and thus avoid unnecessary I/O. But since the bypass commit: https://github.com/StarRocks/starrocks/commit/3fbe5184a16eca3cdad6416b05337767e2d7c285#diff-3be0bcdb0c3c5fe6415556cf49c7270d4fc2e2f071c0240145ce175a32a484e2L874 this constant slot no longer appears in the returned slots. Is this behavior expected?