{"action":"opened","issue":{"url":"https://api.github.com/repos/scylladb/scylla-tools-java/issues/27","repository_url":"https://api.github.com/repos/scylladb/scylla-tools-java","labels_url":"https://api.github.com/repos/scylladb/scylla-tools-java/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/scylladb/scylla-tools-java/issues/27/comments","events_url":"https://api.github.com/repos/scylladb/scylla-tools-java/issues/27/events","html_url":"https://github.com/scylladb/scylla-tools-java/issues/27","id":218123906,"number":27,"title":"sstabledump exception on user-defined data type","user":{"login":"larisau","id":25477265,"avatar_url":"https://avatars0.githubusercontent.com/u/25477265?v=3","gravatar_id":"","url":"https://api.github.com/users/larisau","html_url":"https://github.com/larisau","followers_url":"https://api.github.com/users/larisau/followers","following_url":"https://api.github.com/users/larisau/following{/other_user}","gists_url":"https://api.github.com/users/larisau/gists{/gist_id}","starred_url":"https://api.github.com/users/larisau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larisau/subscriptions","organizations_url":"https://api.github.com/users/larisau/orgs","repos_url":"https://api.github.com/users/larisau/repos","events_url":"https://api.github.com/users/larisau/events{/privacy}","received_events_url":"https://api.github.com/users/larisau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-30T08:48:11Z","updated_at":"2017-03-30T08:48:11Z","closed_at":null,"body":"CREATE TYPE name_type (firstname text, lastname text);\r\nCREATE TYPE address_type (name frozen<name_type>, number int, street text, phones set<text>);\r\nCREATE TABLE testdatatype (\r\n                a ascii PRIMARY KEY,\r\n                ...,\r\n                t frozen<address_type>,\r\n                u frozen<list<list<address_type>>>,\r\n                ...,\r\n            )\r\ninsert data:\r\n{name: {firstname: 'name1', lastname: 'last1'}, number: 1, street: 'street 1', phones: {'1111 2222', '3333 4444'}}\r\n\r\nsstabledump fails with exception:\r\nException in thread \"main\" org.apache.cassandra.exceptions.InvalidRequestException: Unknown type ks.address_type\r\n\tat org.apache.cassandra.cql3.CQL3Type$Raw$RawUT.prepare(CQL3Type.java:745)\r\n\tat org.apache.cassandra.cql3.CQL3Type$Raw.prepareInternal(CQL3Type.java:533)\r\n\tat org.apache.cassandra.schema.CQLTypeParser.parse(CQLTypeParser.java:53)\r\n\tat org.apache.cassandra.schema.SchemaKeyspace.createColumnFromRow(SchemaKeyspace.java:1011)\r\n\tat org.apache.cassandra.schema.SchemaKeyspace.lambda$fetchColumns$12(SchemaKeyspace.java:995)\r\n\tat java.lang.Iterable.forEach(Iterable.java:75)\r\n\tat org.apache.cassandra.schema.SchemaKeyspace.fetchColumns(SchemaKeyspace.java:995)\r\n\tat org.apache.cassandra.schema.SchemaKeyspace.fetchTable(SchemaKeyspace.java:949)\r\n\tat org.apache.cassandra.schema.SchemaKeyspace.fetchTables(SchemaKeyspace.java:928)\r\n\tat org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspace(SchemaKeyspace.java:891)\r\n\tat org.apache.cassandra.schema.SchemaKeyspace.fetchKeyspacesWithout(SchemaKeyspace.java:868)\r\n\tat org.apache.cassandra.schema.SchemaKeyspace.fetchNonSystemKeyspaces(SchemaKeyspace.java:856)\r\n\tat org.apache.cassandra.config.Schema.loadFromDisk(Schema.java:136)\r\n\tat org.apache.cassandra.config.Schema.loadFromDiskForTool(Schema.java:145)\r\n\tat com.scylladb.tools.SSTableExport.metadataFromSSTable(SSTableExport.java:26)\r\n\tat org.apache.cassandra.tools.SSTableExport.run(SSTableExport.java:192)\r\n\tat com.scylladb.tools.SSTableExport.main(SSTableExport.java:37)\r\n^CKeyboardInterrupt: KeyboardInterrupt()\r\n "}}
{"actor":{"display_login":"larisau"}}