Skip to content

Commit 95b30a4

Browse files
committed
final
Signed-off-by: Yang Wang <[email protected]>
1 parent 04dbd97 commit 95b30a4

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.ci/scripts/benchmark_tooling/get_benchmark_analysis_data.py

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,19 @@ def print_all_table_info(self) -> None:
509509
for name in names:
510510
logging.info(json.dumps(name, indent=2))
511511

512-
def _generate_table_name(self, group_info: dict, fields: list[str]) -> str:
512+
def _generate_table_name(self, group_info: Dict[str, Any], fields: List[str]) -> str:
513+
"""
514+
Generate a table name from group info fields.
515+
516+
Creates a normalized string by joining specified fields from group info.
517+
518+
Args:
519+
group_info: Dictionary containing group information
520+
fields: List of field names to include in the table name
521+
522+
Returns:
523+
Normalized table name string
524+
"""
513525
name = "_".join(
514526
self.normalize_string(group_info[k])
515527
for k in fields
@@ -519,8 +531,6 @@ def _generate_table_name(self, group_info: dict, fields: list[str]) -> str:
519531
name = name.replace("(private)", "")
520532
return name
521533

522-
def simplify_ios(self, s: str) -> str:
523-
return s.split(".")[0]
524534

525535
def _generate_matching_name(self, group_info: dict, fields: list[str]) -> str:
526536
info = deepcopy(group_info)

0 commit comments

Comments
 (0)