Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[regression-test](framework) fix sql_return_maparray not use alias bug #46674

Merged
merged 3 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from 2 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 @@ -459,7 +459,7 @@ class Suite implements GroovyInterceptable {
// get all column names as list
List<String> columnNames = new ArrayList<>()
for (int i = 0; i < meta.getColumnCount(); i++) {
columnNames.add(meta.getColumnName(i + 1))
columnNames.add(meta.getColumnLabel(i + 1))
}

// add result to res map list, each row is a map with key is column name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ suite('test_manager_interface_1',"p0") {
assertTrue(result[i]["SHUFFLE_SEND_BYTES"].toBigInteger() ==0) // SHUFFLE_SEND_BYTES
assertTrue(result[i]["SHUFFLE_SEND_ROWS"].toBigInteger() ==0) // SHUFFLE_SEND_ROWS
assertTrue(result[i]["CURRENT_USED_MEMORY_BYTES"]!=null) // CURRENT_USED_MEMORY_BYTES
assertTrue(result[i]["WORKLOAD_GROUP_ID"]!=null) // WORKLOAD_GROUP_NAME
assertTrue(result[i]["WORKLOAD_GROUP_NAME"]!=null) // WORKLOAD_GROUP_NAME
}
}
assertTrue(x == 1)
Expand Down
Loading