You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/09/07 18:51:10 UTC
[jira] [Created] (CASSANDRA-3149) Update CQL type names to match
expected (SQL) behavor
Update CQL type names to match expected (SQL) behavor
-----------------------------------------------------
Key: CASSANDRA-3149
URL: https://issues.apache.org/jira/browse/CASSANDRA-3149
Project: Cassandra
Issue Type: Improvement
Affects Versions: 0.8.0
Reporter: Jonathan Ellis
Assignee: Jonathan Ellis
Priority: Minor
Fix For: 1.0
As discussed in CASSANDRA-3031, we should make the following changes:
- rename bytea to blob
- rename date to timestamp
- remove int, pending addition of CASSANDRA-3031 (bigint and varint will be unchanged)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3149) Update CQL type names to match
expected (SQL) behavor
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100172#comment-13100172 ]
Hudson commented on CASSANDRA-3149:
-----------------------------------
Integrated in Cassandra #1088 (See [https://builds.apache.org/job/Cassandra/1088/])
Update CQL type names to match expected (SQL) behavior
patch by jbellis; reviewed by slebresne for CASSANDRA-3149
slebresne : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1166564
Files :
* /cassandra/trunk/CHANGES.txt
* /cassandra/trunk/NEWS.txt
* /cassandra/trunk/doc/cql/CQL.textile
* /cassandra/trunk/src/java/org/apache/cassandra/cql/CreateColumnFamilyStatement.java
* /cassandra/trunk/test/system/test_cql.py
> Update CQL type names to match expected (SQL) behavor
> -----------------------------------------------------
>
> Key: CASSANDRA-3149
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3149
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 0.8.0
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: cql
> Fix For: 1.0
>
> Attachments: 3149.txt
>
>
> As discussed in CASSANDRA-3031, we should make the following changes:
> - rename bytea to blob
> - rename date to timestamp
> - remove int, pending addition of CASSANDRA-3031 (bigint and varint will be unchanged)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3149) Update CQL type names to match
expected (SQL) behavor
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3149:
--------------------------------------
Attachment: (was: 3149.txt)
> Update CQL type names to match expected (SQL) behavor
> -----------------------------------------------------
>
> Key: CASSANDRA-3149
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3149
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 0.8.0
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: cql
> Fix For: 1.0
>
>
> As discussed in CASSANDRA-3031, we should make the following changes:
> - rename bytea to blob
> - rename date to timestamp
> - remove int, pending addition of CASSANDRA-3031 (bigint and varint will be unchanged)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (CASSANDRA-3149) Update CQL type names to match
expected (SQL) behavor
Posted by "paul cannon (Reopened) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
paul cannon reopened CASSANDRA-3149:
------------------------------------
So, this apparently didn't go far enough: the CQL parser still thinks "date" is an ok type, and "timestamp" isn't. If you try to execute this with CQL in any cassandra after this change:
{noformat}
CREATE COLUMNFAMILY foo ( KEY timestamp PRIMARY KEY );
{noformat}
..or use {{timestamp}} anywhere else a validator type is expected, you'll get an IRE with "{{no viable alternative at input 'timestamp'}}".
src/java/org/apache/cassandra/cql/Cql.g needs to have "date" changed to "timestamp". It looks like all the other types line up right.
> Update CQL type names to match expected (SQL) behavor
> -----------------------------------------------------
>
> Key: CASSANDRA-3149
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3149
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 0.8.0
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: cql
> Fix For: 1.0.0
>
> Attachments: 3149.txt
>
>
> As discussed in CASSANDRA-3031, we should make the following changes:
> - rename bytea to blob
> - rename date to timestamp
> - remove int, pending addition of CASSANDRA-3031 (bigint and varint will be unchanged)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3149) Update CQL type names to match
expected (SQL) behavor
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3149:
--------------------------------------
Attachment: 3149.txt
updated patch to add boolean to textile doc, which was also missing. Also updates NEWS.
> Update CQL type names to match expected (SQL) behavor
> -----------------------------------------------------
>
> Key: CASSANDRA-3149
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3149
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 0.8.0
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: cql
> Fix For: 1.0
>
> Attachments: 3149.txt
>
>
> As discussed in CASSANDRA-3031, we should make the following changes:
> - rename bytea to blob
> - rename date to timestamp
> - remove int, pending addition of CASSANDRA-3031 (bigint and varint will be unchanged)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (CASSANDRA-3149) Update CQL type names to match
expected (SQL) behavor
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3149:
--------------------------------------
Attachment: 3149.txt
patch updates alias map and docs.
> Update CQL type names to match expected (SQL) behavor
> -----------------------------------------------------
>
> Key: CASSANDRA-3149
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3149
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 0.8.0
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Fix For: 1.0
>
> Attachments: 3149.txt
>
>
> As discussed in CASSANDRA-3031, we should make the following changes:
> - rename bytea to blob
> - rename date to timestamp
> - remove int, pending addition of CASSANDRA-3031 (bigint and varint will be unchanged)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CASSANDRA-3149) Update CQL type names to match
expected (SQL) behavor
Posted by "Jonathan Ellis (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-3149.
---------------------------------------
Resolution: Fixed
done in 1.0 branch in r1183084
> Update CQL type names to match expected (SQL) behavor
> -----------------------------------------------------
>
> Key: CASSANDRA-3149
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3149
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 0.8.0
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: cql
> Fix For: 1.0.0
>
> Attachments: 3149.txt
>
>
> As discussed in CASSANDRA-3031, we should make the following changes:
> - rename bytea to blob
> - rename date to timestamp
> - remove int, pending addition of CASSANDRA-3031 (bigint and varint will be unchanged)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CASSANDRA-3149) Update CQL type names to match
expected (SQL) behavor
Posted by "Radim Kolar (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13100042#comment-13100042 ]
Radim Kolar commented on CASSANDRA-3149:
----------------------------------------
what CQL type you want for new Int32Type?
> Update CQL type names to match expected (SQL) behavor
> -----------------------------------------------------
>
> Key: CASSANDRA-3149
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3149
> Project: Cassandra
> Issue Type: Improvement
> Affects Versions: 0.8.0
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Priority: Minor
> Labels: cql
> Fix For: 1.0
>
> Attachments: 3149.txt
>
>
> As discussed in CASSANDRA-3031, we should make the following changes:
> - rename bytea to blob
> - rename date to timestamp
> - remove int, pending addition of CASSANDRA-3031 (bigint and varint will be unchanged)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira