[fix](arrow_flight_sql) Fix ArrowSchema column alias (#33490)
run: select TABLE_SCHEMA as a, sum(TABLE_ROWS) as b from tables group by TABLE_SCHEMA limit 2;
old output:
TABLE_SCHEMA Nullable(Int64)_1
0 regression_test_mv_p0_sum_count 9
1 regression_test_query_p0_sql_functions_string_functions 70414
now output:
a b
0 regression_test_mv_p0_sum_count 9
1 regression_test_query_p0_sql_functions_string_functions 70414
This commit is contained in:
@ -365,6 +365,7 @@ public class SlotRef extends Expr {
|
||||
msg.slot_ref = new TSlotRef(desc.getId().asInt(), desc.getParent().getId().asInt());
|
||||
msg.slot_ref.setColUniqueId(desc.getUniqueId());
|
||||
msg.setOutputColumn(outputColumn);
|
||||
msg.setLabel(label);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user