You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Kirk True (Created) (JIRA)" <ji...@apache.org> on 2012/03/07 02:23:57 UTC
[jira] [Created] (CASSANDRA-4008) Unable to operate on Schema
column family in cassandra-cli as "Schema" is a reserved word
Unable to operate on Schema column family in cassandra-cli as "Schema" is a reserved word
-----------------------------------------------------------------------------------------
Key: CASSANDRA-4008
URL: https://issues.apache.org/jira/browse/CASSANDRA-4008
Project: Cassandra
Issue Type: Bug
Affects Versions: 1.1.0
Reporter: Kirk True
Assignee: Kirk True
Priority: Minor
Fix For: 1.1.0
Steps:
# Run {{./bin/cassandra-cli}}
# Use the system keyspace ({{use system;}})
# List the rows in the {{Schema}} column family ({{list Schema;}})
Expected:
To see a list of rows.
Actual:
Error message: {{Syntax error at position 5: mismatched input 'Schema' expecting set null}}
--
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-4008) Unable to operate on Schema
column family in cassandra-cli as "Schema" is a reserved word
Posted by "Dave Brosius (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13223967#comment-13223967 ]
Dave Brosius commented on CASSANDRA-4008:
-----------------------------------------
schema is defined by lexer token
SCHEMA: 'SCHEMA';
and so 'reduces' to that token as opposed to an identifier.
true of any lexer token
create keyspace keyspace
would probably fail as well.
> Unable to operate on Schema column family in cassandra-cli as "Schema" is a reserved word
> -----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-4008
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4008
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Kirk True
> Assignee: Kirk True
> Priority: Minor
> Labels: lhf
> Fix For: 1.1.0
>
>
> Steps:
> # Run {{./bin/cassandra-cli}}
> # Use the system keyspace ({{use system;}})
> # List the rows in the {{Schema}} column family ({{list Schema;}})
> Expected:
> To see a list of rows.
> Actual:
> Error message: {{Syntax error at position 5: mismatched input 'Schema' expecting set null}}
--
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-4008) Unable to operate on Schema
column family in cassandra-cli as "Schema" is a reserved word
Posted by "Sylvain Lebresne (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224198#comment-13224198 ]
Sylvain Lebresne commented on CASSANDRA-4008:
---------------------------------------------
That is not an impossibility, you can always use quotes to avoid that problem. I.e. list 'Schema' works as expected.
And I don't think it's worth bothering adding special cases for every reserved words. I suppose we could document which are the reserved words and how to escape them.
> Unable to operate on Schema column family in cassandra-cli as "Schema" is a reserved word
> -----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-4008
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4008
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Kirk True
> Assignee: Kirk True
> Priority: Minor
> Labels: lhf
> Fix For: 1.1.0
>
>
> Steps:
> # Run {{./bin/cassandra-cli}}
> # Use the system keyspace ({{use system;}})
> # List the rows in the {{Schema}} column family ({{list Schema;}})
> Expected:
> To see a list of rows.
> Actual:
> Error message: {{Syntax error at position 5: mismatched input 'Schema' expecting set null}}
--
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] [Resolved] (CASSANDRA-4008) Unable to operate on Schema
column family in cassandra-cli as "Schema" is a reserved word
Posted by "Kirk True (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk True resolved CASSANDRA-4008.
----------------------------------
Resolution: Won't Fix
> Unable to operate on Schema column family in cassandra-cli as "Schema" is a reserved word
> -----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-4008
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4008
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Kirk True
> Assignee: Kirk True
> Priority: Minor
> Labels: lhf
> Fix For: 1.1.0
>
>
> Steps:
> # Run {{./bin/cassandra-cli}}
> # Use the system keyspace ({{use system;}})
> # List the rows in the {{Schema}} column family ({{list Schema;}})
> Expected:
> To see a list of rows.
> Actual:
> Error message: {{Syntax error at position 5: mismatched input 'Schema' expecting set null}}
--
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-4008) Unable to operate on Schema
column family in cassandra-cli as "Schema" is a reserved word
Posted by "Kirk True (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kirk True updated CASSANDRA-4008:
---------------------------------
Labels: lhf (was: )
> Unable to operate on Schema column family in cassandra-cli as "Schema" is a reserved word
> -----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-4008
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4008
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Kirk True
> Assignee: Kirk True
> Priority: Minor
> Labels: lhf
> Fix For: 1.1.0
>
>
> Steps:
> # Run {{./bin/cassandra-cli}}
> # Use the system keyspace ({{use system;}})
> # List the rows in the {{Schema}} column family ({{list Schema;}})
> Expected:
> To see a list of rows.
> Actual:
> Error message: {{Syntax error at position 5: mismatched input 'Schema' expecting set null}}
--
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