cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ZhaoYang (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-13573) ColumnMetadata.cellValueType() doesn't return correct type for non-frozen collection
Date Fri, 04 Aug 2017 07:20:01 GMT

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

ZhaoYang edited comment on CASSANDRA-13573 at 8/4/17 7:19 AM:
--------------------------------------------------------------

| [trunk|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13573-trunk] | [unit|https://circleci.com/gh/jasonstack/cassandra/356
] |irrelevant:
materialized_views_test.TestMatyerializedViews.view_tombstones_test 
bootstrap_test.TestBootstrap.consistent_range_movement_false_with_rf1_should_succeed_test
cql_tests.cqlsh_tests.TestCqlsh.test_describe
 |
| [3.11|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13573-3.11] | [unit|https://circleci.com/gh/jasonstack/cassandra/360]
| passed |
| [3.0|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13573-3.0] | [unit|https://circleci.com/gh/jasonstack/cassandra/350]
 | authe_test.TestAuth.system_auth_ks_is_alterable_test irrelevant | 
| [dtest|https://github.com/jasonstack/cassandra-dtest-riptano/commits/CASSANDRA-13573] |

Addressed comments in dtest and src. 

I tested with "clientInitialization()" with data/schema folder removed. UDT works.   


was (Author: jasonstack):
| [trunk|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13573-trunk] | [unit|https://circleci.com/gh/jasonstack/cassandra/356
] |
irrelevant:
materialized_views_test.TestMatyerializedViews.view_tombstones_test 
bootstrap_test.TestBootstrap.consistent_range_movement_false_with_rf1_should_succeed_test
cql_tests.cqlsh_tests.TestCqlsh.test_describe
 |
| [3.11|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13573-3.11] | [unit|https://circleci.com/gh/jasonstack/cassandra/360]
| passed |
| [3.0|https://github.com/jasonstack/cassandra/commits/CASSANDRA-13573-3.0] | [unit|https://circleci.com/gh/jasonstack/cassandra/350]
 | authe_test.TestAuth.system_auth_ks_is_alterable_test irrelevant | 
| [dtest|https://github.com/jasonstack/cassandra-dtest-riptano/commits/CASSANDRA-13573] |

Addressed comments in dtest and src. 

I tested with "clientInitialization()" with data/schema folder removed. UDT works.   

> ColumnMetadata.cellValueType() doesn't return correct type for non-frozen collection
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-13573
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13573
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core, CQL, Materialized Views, Tools
>            Reporter: Stefano Ortolani
>            Assignee: ZhaoYang
>
> Schema and data"
> {noformat}
> CREATE TABLE ks.cf (
>     hash blob,
>     report_id timeuuid,
>     subject_ids frozen<set<int>>,
>     PRIMARY KEY (hash, report_id)
> ) WITH CLUSTERING ORDER BY (report_id DESC);
> INSERT INTO ks.cf (hash, report_id, subject_ids) VALUES (0x1213, now(), {1,2,4,5});
> {noformat}
> sstabledump output is:
> {noformat}
> sstabledump mc-1-big-Data.db 
> [
>   {
>     "partition" : {
>       "key" : [ "1213" ],
>       "position" : 0
>     },
>     "rows" : [
>       {
>         "type" : "row",
>         "position" : 16,
>         "clustering" : [ "ec01eed0-49d9-11e7-b39a-97a96f529c02" ],
>         "liveness_info" : { "tstamp" : "2017-06-05T10:29:57.434856Z" },
>         "cells" : [
>           { "name" : "subject_ids", "value" : "" }
>         ]
>       }
>     ]
>   }
> ]
> {noformat}
> While the values are really there:
> {noformat}
> cqlsh:ks> select * from cf ;
>  hash   | report_id                            | subject_ids
> --------+--------------------------------------+-------------
>  0x1213 | 02bafff0-49d9-11e7-b39a-97a96f529c02 |   {1, 2, 4}
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message