[
https://issues.apache.org/jira/browse/CASSANDRA-20050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895664#comment-17895664
]
Stefan Miklosovic commented on CASSANDRA-20050:
-----------------------------------------------
[CASSANDRA-20050-4.1|https://github.com/instaclustr/cassandra/tree/CASSANDRA-20050-4.1]
{noformat}
java11_pre-commit_tests
✓ j11_build 1m 42s
✓ j11_cqlsh_dtests_py3 5m 40s
✓ j11_cqlsh_dtests_py311 6m 25s
✓ j11_cqlsh_dtests_py311_vnode 6m 9s
✓ j11_cqlsh_dtests_py38 5m 53s
✓ j11_cqlsh_dtests_py38_vnode 6m 4s
✓ j11_cqlsh_dtests_py3_vnode 5m 43s
✓ j11_cqlshlib_cython_tests 6m 58s
✓ j11_cqlshlib_tests 8m 55s
✓ j11_dtests 35m 28s
✓ j11_dtests_vnode 37m 56s
✓ j11_jvm_dtests 17m 7s
✓ j11_unit_tests 8m 37s
✓ j11_unit_tests_repeat 6m 31s
✕ j11_jvm_dtests_vnode 23m 33s
org.apache.cassandra.distributed.test.CasWriteTest
casWriteContentionTimeoutTest TIMEOUTED
{noformat}
[java11_pre-commit_tests|https://app.circleci.com/pipelines/github/instaclustr/cassandra/4929/workflows/d006715a-2295-47c2-8e38-ef56fbd59d39]
> 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]