[jira] [Commented] (CASSANDRA-14493) Test describe statements for aggregates, functions, indexes, schemas, types, and user types

2018-07-01 Thread Patrick Bannister (JIRA)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-14493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16529272#comment-16529272
 ] 

Patrick Bannister commented on CASSANDRA-14493:
---

Added a new test for DESCRIBE TYPE.

> Test describe statements for aggregates, functions, indexes, schemas, types, 
> and user types
> ---
>
> Key: CASSANDRA-14493
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14493
> Project: Cassandra
>  Issue Type: Sub-task
>Reporter: Patrick Bannister
>Priority: Major
> Fix For: 4.x
>
>
> Coverage analysis of the cqlsh unittests (pylib/cqlshlib/test/test*.py) and 
> the dtest cqlsh_tests (cqlsh_tests.py and cqlsh_copy_tests.py) showed no 
> coverage of functions for describing aggregates, functions, indexes, schemas, 
> types, or usertypes.
> Before we can release a ported cqlsh, we should either create a new test that 
> exercises these kinds of describe statements, or refute the coverage report 
> by identifying an existing test for these features.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-14493) Test describe statements for aggregates, functions, indexes, schemas, types, and user types

2018-07-01 Thread Patrick Bannister (JIRA)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-14493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16529125#comment-16529125
 ] 

Patrick Bannister commented on CASSANDRA-14493:
---

DESCRIBE AGGREGATE and DESCRIBE FUNCTION are done. DESCRIBE for user defined 
types is next on my list.

> Test describe statements for aggregates, functions, indexes, schemas, types, 
> and user types
> ---
>
> Key: CASSANDRA-14493
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14493
> Project: Cassandra
>  Issue Type: Sub-task
>Reporter: Patrick Bannister
>Priority: Major
> Fix For: 4.x
>
>
> Coverage analysis of the cqlsh unittests (pylib/cqlshlib/test/test*.py) and 
> the dtest cqlsh_tests (cqlsh_tests.py and cqlsh_copy_tests.py) showed no 
> coverage of functions for describing aggregates, functions, indexes, schemas, 
> types, or usertypes.
> Before we can release a ported cqlsh, we should either create a new test that 
> exercises these kinds of describe statements, or refute the coverage report 
> by identifying an existing test for these features.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Commented] (CASSANDRA-14493) Test describe statements for aggregates, functions, indexes, schemas, types, and user types

2018-06-30 Thread Patrick Bannister (JIRA)


[ 
https://issues.apache.org/jira/browse/CASSANDRA-14493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16528961#comment-16528961
 ] 

Patrick Bannister commented on CASSANDRA-14493:
---

We already have tests that cover DESCRIBE statements for indexes and schemas 
(in the test_describe dtest in cassandra-dtest cqlsh_tests/cqlsh_tests.py). 
Coverage analysis shows we're exercising those functions after fixing flakiness 
in test_describe.

Also, a "usertype" is not a separate thing from a "type" in the context of 
DESCRIBE statements, so no separate testing will be needed for describing types 
vs. describing usertypes.

We still need additional testing to exercise describing aggregates, functions, 
and (user defined) types.

> Test describe statements for aggregates, functions, indexes, schemas, types, 
> and user types
> ---
>
> Key: CASSANDRA-14493
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14493
> Project: Cassandra
>  Issue Type: Sub-task
>Reporter: Patrick Bannister
>Priority: Major
> Fix For: 4.x
>
>
> Coverage analysis of the cqlsh unittests (pylib/cqlshlib/test/test*.py) and 
> the dtest cqlsh_tests (cqlsh_tests.py and cqlsh_copy_tests.py) showed no 
> coverage of functions for describing aggregates, functions, indexes, schemas, 
> types, or usertypes.
> Before we can release a ported cqlsh, we should either create a new test that 
> exercises these kinds of describe statements, or refute the coverage report 
> by identifying an existing test for these features.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org