Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def visit_select(self, *args, **kwargs):
"""
Use labels for every column.
This ensures that fields won't contain duplicate names
"""
args[0].use_labels = True
return super(BigQueryCompiler, self).visit_select(*args, **kwargs)