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

Stefan Miklosovic commented on CASSANDRA-20050:
-----------------------------------------------

[CASSANDRA-20050|https://github.com/instaclustr/cassandra/tree/CASSANDRA-20050]
{noformat}
java17_pre-commit_tests                         
  ✓ j17_build                                        4m 24s
  ✓ j17_cqlsh_dtests_py311                            7m 7s
  ✓ j17_cqlsh_dtests_py311_vnode                     7m 17s
  ✓ j17_cqlsh_dtests_py38                            7m 20s
  ✓ j17_cqlsh_dtests_py38_vnode                       7m 1s
  ✓ j17_cqlshlib_cython_tests                        7m 36s
  ✓ j17_cqlshlib_tests                               7m 14s
  ✓ j17_dtests                                      34m 45s
  ✓ j17_dtests_latest                               35m 22s
  ✓ j17_dtests_vnode                                 36m 2s
  ✓ j17_jvm_dtests                                  23m 40s
  ✓ j17_unit_tests_repeat                            9m 13s
  ✓ j17_utests_latest_repeat                         10m 4s
  ✓ j17_utests_oa_repeat                            12m 23s
  ✕ j17_jvm_dtests_latest_vnode                     21m 42s
      org.apache.cassandra.distributed.test.tcm.CMSPlacementAfterMoveTest 
testMoveToCMS
  ✕ j17_unit_tests                                  14m 40s
      org.apache.cassandra.cql3.PstmtPersistenceTest testPstmtInvalidation
  ✕ j17_utests_latest                               15m 54s
      org.apache.cassandra.cql3.PstmtPersistenceTest testPstmtInvalidation
  ✕ j17_utests_oa                                    14m 6s
      org.apache.cassandra.cql3.PstmtPersistenceTest testPstmtInvalidation      
                      
{noformat}

[java17_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4927/workflows/f4ac4de7-9e6d-4028-8ce7-ba8dc96cc455]

PstmtPersistenceTest is CASSANDRA-20055


> User types as clustering keys in descending order are not supported but 
> ascending are
> -------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-20050
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20050
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL/Semantics, Feature/UDT
>            Reporter: Stefan Miklosovic
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.0.x, 5.x
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> This works:
> {code}
> cassandra@cqlsh:ks> CREATE TABLE tbl (pk int, ck frozen<foo>, PRIMARY KEY(pk, 
> ck)) WITH CLUSTERING ORDER BY (ck ASC);
> cassandra@cqlsh:ks> INSERT INTO ks.tbl (pk, ck) VALUES ( 1, {a: 1}) 
> {code}
> But this does not:
> {code}
> cassandra@cqlsh:ks> CREATE TABLE tbl (pk int, ck frozen<foo>, PRIMARY KEY(pk, 
> ck)) WITH CLUSTERING ORDER BY (ck DESC);
> cassandra@cqlsh:ks> INSERT INTO ks.tbl (pk, ck) VALUES ( 1, {a: 1})  ;
> InvalidRequest: Error from server: code=2200 [Invalid query] message="Invalid 
> user type literal for ck of type frozen<foo>"
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to