Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public class InternalSchema {
AUDIT_SCHEMA.add(new ColumnDef("stmt_id", TypeDef.create(PrimitiveType.BIGINT), true));
AUDIT_SCHEMA.add(new ColumnDef("is_query", TypeDef.create(PrimitiveType.TINYINT), true));
AUDIT_SCHEMA.add(new ColumnDef("is_nereids", TypeDef.create(PrimitiveType.TINYINT), true));
AUDIT_SCHEMA.add(new ColumnDef("frontend_ip", TypeDef.createVarchar(128), true));
AUDIT_SCHEMA.add(new ColumnDef("frontend_ip", TypeDef.createVarchar(1024), true));
AUDIT_SCHEMA.add(new ColumnDef("cpu_time_ms", TypeDef.create(PrimitiveType.BIGINT), true));
AUDIT_SCHEMA.add(new ColumnDef("sql_hash", TypeDef.createVarchar(128), true));
AUDIT_SCHEMA.add(new ColumnDef("sql_digest", TypeDef.createVarchar(128), true));
Expand Down
2 changes: 1 addition & 1 deletion regression-test/data/audit/test_audit_log_behavior.out
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ scan_bytes_from_remote_storage bigint Yes false \N NONE
stmt_id bigint Yes false \N NONE
is_query tinyint Yes false \N NONE
is_nereids tinyint Yes false \N NONE
frontend_ip varchar(128) Yes false \N NONE
frontend_ip varchar(1024) Yes false \N NONE
cpu_time_ms bigint Yes false \N NONE
sql_hash varchar(128) Yes false \N NONE
sql_digest varchar(128) Yes false \N NONE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ suite('test_manager_interface_1',"p0") {
assertTrue(result[0][1].contains("`return_rows` bigint NULL,"))
assertTrue(result[0][1].contains("`stmt_id` bigint NULL,"))
assertTrue(result[0][1].contains("`is_query` tinyint NULL,"))
assertTrue(result[0][1].contains("`frontend_ip` varchar(128) NULL,"))
assertTrue(result[0][1].contains("`frontend_ip` varchar(1024) NULL,"))
assertTrue(result[0][1].contains("`cpu_time_ms` bigint NULL,"))
assertTrue(result[0][1].contains("`sql_hash` varchar(128) NULL,"))
assertTrue(result[0][1].contains("`sql_digest` varchar(128) NULL,"))
Expand Down