You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Patrick Bannister (JIRA)" <ji...@apache.org> on 2018/07/01 02:31:00 UTC

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

    [ https://issues.apache.org/jira/browse/CASSANDRA-14493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org