Skip to content
Prev Previous commit
Next Next commit
fix compile
  • Loading branch information
dtenedor committed Jun 20, 2024
commit fa7ca52ad3ea82b2bcc706c908460794b01715f5
2 changes: 1 addition & 1 deletion sql/gen-sql-functions-docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def _make_pretty_examples(jspark, infos):
query_examples = filter(lambda x: x.startswith(" > "), info.examples.split("\n"))
for query_example in query_examples:
query = query_example.lstrip(" > ")
print(" %s" % query)
print(" %s: %s" % (info.name, query))
query_output = jspark.sql(query).showString(20, 20, False)
output.append(query)
output.append(query_output)
Expand Down