Fix quey_log_table unit test
@@ -54,12 +54,13 @@ async fn test_query_log_table() -> Result<()> {
let result = stream.try_collect::<Vec<_>>().await?;
assert_blocks_sorted_eq(
vec![
- "+----------+-----------+------------+----------+----------------+---------------------+----------+------------+------------------+----------------+--------------+---------------+-----------+------------+-------------+--------------+-----------+--------------+-------------+----------------+------------------+-----------+--------+---------+-------------+----------------+----------------+-------------+----------------+-------+",
- "| log_type | tenant_id | cluster_id | sql_user | sql_user_quota | sql_user_privileges | query_id | query_text | query_start_time | query_end_time | written_rows | written_bytes | read_rows | read_bytes | result_rows | result_bytes | cpu_usage | memory_usage | client_info | client_address | current_database | databases | tables | columns | projections | exception_code | exception_text | stack_trace | server_version | extra |",
- "+----------+-----------+------------+----------+----------------+---------------------+----------+------------+------------------+----------------+--------------+---------------+-----------+------------+-------------+--------------+-----------+--------------+-------------+----------------+------------------+-----------+--------+---------+-------------+----------------+----------------+-------------+----------------+-------+",
- "| 2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |",
- "| 3 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |",
- "+----------+-----------+------------+----------+----------------+---------------------+----------+------------+------------------+----------------+--------------+---------------+-----------+------------+-------------+--------------+-----------+--------------+-------------+----------------+------------------+-----------+--------+---------+-------------+----------------+----------------+-------------+----------------+-------+",
+ "+----------+-----------+------------+----------+----------------+---------------------+----------+------------+------------+------------------+----------------+--------------+---------------+-----------+------------+-------------+--------------+-----------+--------------+-------------+----------------+------------------+-----------+--------+---------+-------------+----------------+----------------+-------------+----------------+-------+",
+ "| log_type | tenant_id | cluster_id | sql_user | sql_user_quota | sql_user_privileges | query_id | query_kind | query_text | query_start_time | query_end_time | written_rows | written_bytes | read_rows | read_bytes | result_rows | result_bytes | cpu_usage | memory_usage | client_info | client_address | current_database | databases | tables | columns | projections | exception_code | exception_text | stack_trace | server_version | extra |",
+ "+----------+-----------+------------+----------+----------------+---------------------+----------+------------+------------+------------------+----------------+--------------+---------------+-----------+------------+-------------+--------------+-----------+--------------+-------------+----------------+------------------+-----------+--------+---------+-------------+----------------+----------------+-------------+----------------+-------+",
+ "| 2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |",
+ "| 3 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |",
+ "+----------+-----------+------------+----------+----------------+---------------------+----------+------------+------------+------------------+----------------+--------------+---------------+-----------+------------+-------------+--------------+-----------+--------------+-------------+----------------+------------------+-----------+--------+---------+-------------+----------------+----------------+-------------+----------------+-------+",
+
],
&result,
);
