Joins two sets of logs based on specified criteria and creates new logs with the joined data.The join operation is similar to SQL joins, allowing inner, left, right, and outer joins
between two sets of logs filtered by the criteria in pair_of_args.Args:
pair_of_args: List of two dictionaries containing filtering criteria for logs to join.
Each dictionary can include context, filter_expr, from_ids, etc.
join_expr: SQL expression for the join condition using aliases A and B
(e.g., ‘A.user_id = B.user_id’)
mode: Type of join to perform (‘inner’, ‘left’, ‘right’, or ‘outer’)
new_context: Name for the new context where joined logs will be stored
columns: Optional list of column names to include in the joined result
project: Name of the project containing the logsReturns:
JSON response with info about the join operation
Optional dictionary mapping source columns to new column names for the result. The key is the source column (e.g., ‘A.user_id’) and the value is the desired alias in the new log (e.g., ‘user_identifier’). If omitted, all columns will be selected and prefixed with ‘A_’ or ‘B_’.