code: def sql_fingerprint(query, hide_columns=True):
      
      parsed_query = parse(query)[0]
      sql_recursively_simplify(parsed_query, hide_columns=hide_columns)
      return str(parsed_query)
docs: Simplify a query, taking away exact values and fields selected.
  
      Imperfect but better than super explicit, value-dependent queries.