-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review expression generated column names #5583
Comments
Rules for SQL92 identifiers A delimited identifier can contain any characters within the double quotation marks. The enclosing double quotation marks are not part of the identifier; they serve only to mark its beginning and end. Spaces at the end of a delimited identifier are insignificant (truncated). Derby translates two consecutive double quotation marks within a delimited identifier as one double quotation mark-that is, the "translated" double quotation mark becomes a character in the delimited identifier. Postgres: SQLite: |
We should reject names which are empty, Nothing or contain |
TODO:
|
So for now the rules will be:
We may need to revise this once we start supporting more backends which do not support some of the weirder names. |
Radosław Waśko reports a new STANDUP for yesterday (2023-03-06): Progress: Added weird name tests. Researched what other DB engines allow. Discussions on NaN handling in Map. Added tests for column operation names. It should be finished by 2023-03-08. Next Day: Next day I will be working on the same task. Implement new column operation names. Add a hook for name verification for DB Dialects. Start work on mismatched quotes. |
Radosław Waśko reports a new STANDUP for yesterday (2023-03-07): Progress: Implemented new column operation names, updated the tests. Added a hook for name verification for DB Dialects. Encountered some weird NullPtr error. It should be finished by 2023-03-08. Next Day: Next day I will be working on the same task. Find out the error and prepare a PR. Do the common core lib as a separate PR. Prepare the pending mismatched quotes PR. Start work on cross_tab unique naming. |
Currently, we remove all non alpha numeric characters and replace with
_
.Need to check that DB escaping is safe and disable this behavior.
The text was updated successfully, but these errors were encountered: