Skip to content
Prev Previous commit
Next Next commit
fix test
  • Loading branch information
dtenedor committed Jun 20, 2024
commit 50f728f9837d1708c51a7f24f3ead3f64cc08537
3 changes: 2 additions & 1 deletion sql/gen-sql-functions-docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ def _make_pretty_examples(jspark, infos):

pretty_output = ""
for info in infos:
if info.examples.startswith("\n Examples:"):
if (info.examples.startswith("\n Examples:")
and info.name.lower() not in ("from_json", "to_json")):
output = []
output.append("-- %s" % info.name)
query_examples = filter(lambda x: x.startswith(" > "), info.examples.split("\n"))
Expand Down