The 'join' filter combines list elements into a string separated by the given delimiter.
Step 2: Match macro code to desired output
{% macro list_columns(cols) %} {{ cols | join(", ") }} {% endmacro %} uses join(", ") to create a comma-separated string from the list, which is correct.