Re: MonetDB: default - No need for IMPRINTS being a full-blown keyword.
Sjoerd,
there is a plan for imprints to become a keyword in SQL such that one
may do the following:
CREATE IMPRINTS INDEX idx_id ON table_id(column_id)
just as ORDERED index.
This is needed in many cases where for example Romulo wants to be able
to create and drop imprints at will.
On Wed, May 4, 2016 at 11:25 AM, Sjoerd Mullender
Changeset: 390e25b31196 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=390e25b31196 Modified Files: sql/server/sql_parser.y Branch: default Log Message:
No need for IMPRINTS being a full-blown keyword.
diffs (11 lines):
diff --git a/sql/server/sql_parser.y b/sql/server/sql_parser.y --- a/sql/server/sql_parser.y +++ b/sql/server/sql_parser.y @@ -5089,6 +5089,7 @@ non_reserved_word: | TIME { $$ = sa_strdup(SA, "time"); } | TIMESTAMP { $$ = sa_strdup(SA, "timestamp"); } | INTERVAL { $$ = sa_strdup(SA, "interval"); } +| IMPRINTS { $$ = sa_strdup(SA, "imprints"); }
| PREPARE { $$ = sa_strdup(SA, "prepare"); } | EXECUTE { $$ = sa_strdup(SA, "execute"); } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list
That's fine, and should not be prevented by this change. What it does do is allow unquoted column names imprints. On 04/05/16 12:55, Lefteris wrote:
Sjoerd,
there is a plan for imprints to become a keyword in SQL such that one may do the following:
CREATE IMPRINTS INDEX idx_id ON table_id(column_id)
just as ORDERED index.
This is needed in many cases where for example Romulo wants to be able to create and drop imprints at will.
On Wed, May 4, 2016 at 11:25 AM, Sjoerd Mullender
wrote: Changeset: 390e25b31196 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=390e25b31196 Modified Files: sql/server/sql_parser.y Branch: default Log Message:
No need for IMPRINTS being a full-blown keyword.
diffs (11 lines):
diff --git a/sql/server/sql_parser.y b/sql/server/sql_parser.y --- a/sql/server/sql_parser.y +++ b/sql/server/sql_parser.y @@ -5089,6 +5089,7 @@ non_reserved_word: | TIME { $$ = sa_strdup(SA, "time"); } | TIMESTAMP { $$ = sa_strdup(SA, "timestamp"); } | INTERVAL { $$ = sa_strdup(SA, "interval"); } +| IMPRINTS { $$ = sa_strdup(SA, "imprints"); }
| PREPARE { $$ = sa_strdup(SA, "prepare"); } | EXECUTE { $$ = sa_strdup(SA, "execute"); } _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list
developers-list mailing list developers-list@monetdb.org https://www.monetdb.org/mailman/listinfo/developers-list
-- Sjoerd Mullender
participants (2)
-
Lefteris
-
Sjoerd Mullender