Skip to content

Consider not lowercasing column names #229

Discussion options

You must be logged in to vote

Thanks for opening an issue, @amardeep, and thanks for chiming in, Randy.

A few comments from me to explain where we are, how we got here, and what we can do about it:

  1. I do have a preference for snake_case for all keywords and identifiers, and I believe this preference is shared by most data people I know. But I realize that naming and style conventions aren't always under our users' control, and this preference ideally would not create a barrier to adopting sqlfmt (I think generally, line breaks and indentation are a bigger benefit than consistent capitalization)
  2. For occasional deviations from snake_case, you can (and should) quote your identifiers. sqlfmt will never change anything abo…

Replies: 10 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tconbeer
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@tconbeer
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants
Converted from issue

This discussion was converted from issue #195 on August 02, 2022 21:39.