[
https://issues.apache.org/jira/browse/CASSANDRA-20365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17930161#comment-17930161
]
Stefan Miklosovic commented on CASSANDRA-20365:
-----------------------------------------------
[CASSANDRA-20365-5.0|https://github.com/instaclustr/cassandra/tree/CASSANDRA-20365-5.0]
{noformat}
java17_pre-commit_tests
✓ j17_build 5m 37s
✓ j17_cqlsh_dtests_py311 6m 46s
✓ j17_cqlsh_dtests_py311_vnode 6m 5s
✓ j17_cqlsh_dtests_py38 6m 7s
✓ j17_cqlsh_dtests_py38_vnode 7m 2s
✓ j17_cqlshlib_cython_tests 8m 46s
✓ j17_cqlshlib_tests 7m 48s
✓ j17_dtests_latest 40m 57s
✓ j17_dtests_vnode 43m 45s
✓ j17_jvm_dtests_latest_vnode 20m 28s
✓ j17_unit_tests 17m 21s
✓ j17_unit_tests_repeat 7m 29s
✓ j17_utests_latest 17m 0s
✓ j17_utests_latest_repeat 8m 30s
✓ j17_utests_oa 17m 27s
✓ j17_utests_oa_repeat 7m 39s
✕ j17_dtests 47m 5s
refresh_test.TestRefresh test_refresh_deadlock_startup
✕ j17_jvm_dtests 24m 21s
org.apache.cassandra.distributed.test.PaxosRepair2Test
legacyPurgeRepairLoop
{noformat}
[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/5502/workflows/c0df2025-eb9e-47ac-8403-1dad9691f030]
> DESCRIBE TABLE does not list materialized views
> -----------------------------------------------
>
> Key: CASSANDRA-20365
> URL: https://issues.apache.org/jira/browse/CASSANDRA-20365
> Project: Apache Cassandra
> Issue Type: Bug
> Components: Legacy/Core, Legacy/CQL
> Reporter: Nadav Har'El
> Assignee: Stefan Miklosovic
> Priority: Normal
> Fix For: 5.0.x, 5.x
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> I noticed that if I run DESCRIBE TABLE (the new server-side CQL command, not
> the old cqlsh command) on a table that has materialized views, I get back
> just {{CREATE TABLE}} command for the base table but no {{{}CREATE
> MATERIALIZED VIEW{}}}.
> I found this strange for several reasons:
> # Old cqlsh documentation such as
> [https://docs.datastax.com/en/cql/hcd/reference/cqlsh-commands/describe-table.html]
> suggested that DESCRIBE TABLE should return "executable CQL information for
> a single table, including materialized views that are based on the table".
> # Probably a user will want to recreate views when recreating a table.
> # On a table with secondary index, CREATE INDEX statements *are* included in
> the output of DESCRIBE TABLE. Why should indexes be listed and views not?
> Is any of this intentional? I couldn't find any CQL (not cqlsh) documentation
> explaining what DESCRIBE TABLE should return, or why.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]