[MCOL-573] CS does not support reserved words as column names Created: 2017-02-16 Updated: 2018-05-31 Resolved: 2018-02-13 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.2.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Justin Swanhart (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Epic Link: | ColumnStore Compatibility Improvements | ||||||||||||||||||||||||||||||||||||
| Sprint: | 2018-03, 2018-04 | ||||||||||||||||||||||||||||||||||||
| Description |
|
create table kvstore( The whole point of having backticks is so that reserved words can be used. This is very broken! Modifying an application to change column names (or table names) is not trivial. Also, the error message is completely wrong and misleading. I have complex tables with many columns and I ended up doing a binary search to figure out which column was affected. These error messages should be much more helpful, not to mention they should be grammatically correct. |
| Comments |
| Comment by Roman [ 2018-01-17 ] |
|
Greetings, Here is a first version of the patch that supports quotation for table and column identifiers. And here is a tiny DDL/DML test results. |
| Comment by Roman [ 2018-01-24 ] |
|
Here is a PR for the feature. |
| Comment by Daniel Lee (Inactive) [ 2018-02-13 ] |
|
Build verified: Github source 1.2.0-1 /root/columnstore/mariadb-columnstore-server Update README.md diff --git a/README.md b/README.md ```bash
/root/columnstore/mariadb-columnstore-server/mariadb-columnstore-engine Merge pull request #399 from drrtuy/ Verified DDL, DML, query and cpimport |