News for hackers. Stuff that matters.
Re:Sqlfluff the SQL Linter for Humans by OJFord on Wednesday October 06, 2021 @08:52PM (#28780402)
Leading comma sort of works for SQL, since 'a' will often be a much less likely to change ID or something. Really I just wish it allowed a final trailing comma though, so each could be on its own line:

    select
      a,
      b,
    from ...
without the comma diff when you add one to the end.
Re:Sqlfluff the SQL Linter for Humans by bobchadwick on Wednesday October 06, 2021 @10:23PM (#28781081)
BigQuery supports trailing commas in select statements: https://cloud.google.com/bigquery/docs/reference/standard-sq...