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 2010/11/13 06:30:14 UTC
[jira] Created: (CASSANDRA-1742) cli usability
cli usability
-------------
Key: CASSANDRA-1742
URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
Project: Cassandra
Issue Type: Improvement
Components: Tools
Affects Versions: 0.7 beta 3
Reporter: Jonathan Ellis
Assignee: Pavel Yaskevich
Priority: Minor
Fix For: 0.7.0
- cli should be case-insensitive for ks/cf names when that is unambiguous
- cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1742) cli usability
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931706#action_12931706 ]
Pavel Yaskevich commented on CASSANDRA-1742:
--------------------------------------------
I vote for semicolon! :)
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1742) cli usability
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich updated CASSANDRA-1742:
---------------------------------------
Attachment: CASSANDRA-1742.patch
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: CASSANDRA-1742.patch
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1742) cli usability
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931675#action_12931675 ]
Jonathan Ellis commented on CASSANDRA-1742:
-------------------------------------------
Good point. Should we use SQL-style "newlines are ignored until a semicolon" or Python-style "newline means end-of-statement unless you escape it with a backslash?"
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1742) cli usability
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933949#action_12933949 ]
Hudson commented on CASSANDRA-1742:
-----------------------------------
Integrated in Cassandra-0.7 #19 (See [https://hudson.apache.org/hudson/job/Cassandra-0.7/19/])
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: CASSANDRA-1742.patch
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1742) cli usability
Posted by "T Jake Luciani (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931666#action_12931666 ]
T Jake Luciani commented on CASSANDRA-1742:
-------------------------------------------
It would be great is statements could wrap multiple lines. Example this should be valid:
create column family TI
with
comparator = 'lucandra.VIntType' and
column_type = Super and
keys_cached = 10000000 and
rows_cached = 1000 and
comment = 'Stores term information with indexName/field/term as composite key'
vs
create column family TI with comparator = 'lucandra.VIntType' and column_type = Super and keys_cached = 10000000 and rows_cached = 1000 and comment = 'Stores term information with indexName/field/term as composite key'
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1742) cli usability
Posted by "Jeremy Hanna (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933494#action_12933494 ]
Jeremy Hanna commented on CASSANDRA-1742:
-----------------------------------------
How does multi-line work with history (when hitting the up arrow)?
I'm curious because when messing with the cli, and when I was typing a very long single line command, it went to the next line. Then when I tried to hit the up arrow and modifying the command (syntax error the first time), it would only allow me to scroll left/right on one of the lines. This is a different problem, but thought I would mention it on a ticket about cli usability.
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: CASSANDRA-1742.patch
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1742) cli usability
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich updated CASSANDRA-1742:
---------------------------------------
Attachment: CASSANDRA-1742.patch
Multiple line statements now available from console and file, help and tests updated too.
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: CASSANDRA-1742.patch
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1742) cli usability
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933496#action_12933496 ]
Pavel Yaskevich commented on CASSANDRA-1742:
--------------------------------------------
It won't well with multi-line statements because jline can't handle that properly...
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
> Attachments: CASSANDRA-1742.patch
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1742) cli usability
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933209#action_12933209 ]
Pavel Yaskevich commented on CASSANDRA-1742:
--------------------------------------------
Jonathan: Can you please define "unambiguous" in terms of ks/cf names case in CLI? just to avoid any misunderstandings here and make things clear
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1742) cli usability
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931739#action_12931739 ]
Jonathan Ellis commented on CASSANDRA-1742:
-------------------------------------------
sgtm
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (CASSANDRA-1742) cli usability
Posted by "T Jake Luciani (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12931666#action_12931666 ]
T Jake Luciani edited comment on CASSANDRA-1742 at 11/13/10 7:45 AM:
---------------------------------------------------------------------
It would be great if statements could wrap multiple lines. Example this should be valid:
create column family TI
with
comparator = 'lucandra.VIntType' and
column_type = Super and
keys_cached = 10000000 and
rows_cached = 1000 and
comment = 'Stores term information with indexName/field/term as composite key'
vs
create column family TI with comparator = 'lucandra.VIntType' and column_type = Super and keys_cached = 10000000 and rows_cached = 1000 and comment = 'Stores term information with indexName/field/term as composite key'
was (Author: tjake):
It would be great is statements could wrap multiple lines. Example this should be valid:
create column family TI
with
comparator = 'lucandra.VIntType' and
column_type = Super and
keys_cached = 10000000 and
rows_cached = 1000 and
comment = 'Stores term information with indexName/field/term as composite key'
vs
create column family TI with comparator = 'lucandra.VIntType' and column_type = Super and keys_cached = 10000000 and rows_cached = 1000 and comment = 'Stores term information with indexName/field/term as composite key'
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CASSANDRA-1742) cli usability
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933283#action_12933283 ]
Jonathan Ellis commented on CASSANDRA-1742:
-------------------------------------------
unambiguous means there is only one CF with those letters, ignoring case
there is a CF "User" and input is "uSer" -> unambiguous, assume User
there is a CF User and a CF user and input is "uSer" -> ambiguous, raise error
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (CASSANDRA-1742) cli usability
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-1742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pavel Yaskevich updated CASSANDRA-1742:
---------------------------------------
Attachment: (was: CASSANDRA-1742.patch)
> cli usability
> -------------
>
> Key: CASSANDRA-1742
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1742
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Affects Versions: 0.7 beta 3
> Reporter: Jonathan Ellis
> Assignee: Pavel Yaskevich
> Priority: Minor
> Fix For: 0.7.0
>
>
> - cli should be case-insensitive for ks/cf names when that is unambiguous
> - cli should sort ks/cf alphabetically in show keyspaces output
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.