Displaying #cassandra-dev/2017-03-10.log:

Fri Mar 10 00:03:08 2017  adamholmberg:Joined the channel
Fri Mar 10 01:02:25 2017  clohfink:Joined the channel
Fri Mar 10 01:03:38 2017  makrusak:Joined the channel
Fri Mar 10 01:14:23 2017  jfarrell_:Joined the channel
Fri Mar 10 01:14:28 2017  tolbertam:Joined the channel
Fri Mar 10 02:01:16 2017  tolbertam:Joined the channel
Fri Mar 10 02:01:55 2017  kohlisankalp:Joined the channel
Fri Mar 10 02:06:30 2017  clohfink:Joined the channel
Fri Mar 10 02:50:50 2017  tolbertam:Joined the channel
Fri Mar 10 03:10:22 2017  tolbertam:Joined the channel
Fri Mar 10 03:31:37 2017  aboudreault:Joined the channel
Fri Mar 10 04:09:24 2017  Vijay_:Joined the channel
Fri Mar 10 04:16:30 2017  kohlisankalp:Joined the channel
Fri Mar 10 04:22:23 2017  dikang:Joined the channel
Fri Mar 10 04:58:16 2017  Vijay_:Joined the channel
Fri Mar 10 04:58:32 2017  r005t3r:Joined the channel
Fri Mar 10 05:01:21 2017  tolbertam:Joined the channel
Fri Mar 10 05:35:39 2017  Vijay__:Joined the channel
Fri Mar 10 05:41:28 2017  tolbertam:Joined the channel
Fri Mar 10 05:44:06 2017  Vijay__:Joined the channel
Fri Mar 10 06:00:34 2017  Vijay__:Joined the channel
Fri Mar 10 06:03:48 2017  cosql:Joined the channel
Fri Mar 10 06:12:01 2017  dikang:Joined the channel
Fri Mar 10 06:58:01 2017  tolbertam:Joined the channel
Fri Mar 10 07:00:39 2017  clohfink:Joined the channel
Fri Mar 10 07:26:18 2017  kvaster_:Joined the channel
Fri Mar 10 07:34:37 2017  aboudreault:Joined the channel
Fri Mar 10 07:36:28 2017  minimarcel_:Joined the channel
Fri Mar 10 07:51:37 2017  aboudreault:Joined the channel
Fri Mar 10 08:04:07 2017  aboudreault:Joined the channel
Fri Mar 10 08:05:13 2017  tolbertam:Joined the channel
Fri Mar 10 08:15:17 2017  cosql:Joined the channel
Fri Mar 10 08:16:18 2017  cosql:Joined the channel
Fri Mar 10 08:48:16 2017  r005t3r:Joined the channel
Fri Mar 10 08:49:09 2017  clohfink:Joined the channel
Fri Mar 10 09:40:33 2017  minimarcel_:Joined the channel
Fri Mar 10 10:09:01 2017  makrusak:Joined the channel
Fri Mar 10 11:31:02 2017  clohfink:Joined the channel
Fri Mar 10 11:42:38 2017  aboudreault:Joined the channel
Fri Mar 10 14:04:12 2017  kvaster:Joined the channel
Fri Mar 10 14:24:59 2017  lexmag_:Joined the channel
Fri Mar 10 14:26:03 2017  lexmag_:hi everyone
Fri Mar 10 14:26:19 2017  lexmag_:I asked that question few days ago
Fri Mar 10 14:26:35 2017  lexmag_:but it was apparently bad time of the day
Fri Mar 10 14:26:47 2017  lexmag_:question about protocol
Fri Mar 10 14:27:07 2017  lexmag_:"tinyint", "smallint" types in particular
Fri Mar 10 14:27:43 2017  lexmag_:all stable versions of Cassandra return them as "custom" type
Fri Mar 10 14:27:53 2017  lexmag_:with fully-qualified class name
Fri Mar 10 14:28:07 2017  lexmag_:instead of native
Fri Mar 10 14:28:26 2017  lexmag_:is it on purpose? will it be changed in the future?
Fri Mar 10 14:31:03 2017  clohfink:Joined the channel
Fri Mar 10 14:39:36 2017  adamholm_:Joined the channel
Fri Mar 10 14:53:07 2017  tolbertam:Joined the channel
Fri Mar 10 14:58:02 2017  tolbertam:Joined the channel
Fri Mar 10 15:13:38 2017  aboudreault:Joined the channel
Fri Mar 10 15:15:06 2017  pcmanus:It should be changed in the future (and it might even already be done for the protocol v5, which is in beta mode, I don't remember), but we can't be changed in an existing protocol version and the current version (v4) pre-dates those types.
Fri Mar 10 15:20:23 2017  lexmag_:pcmanus: thanks, makes sense for backward compatibility
Fri Mar 10 15:20:29 2017  lexmag_:pcmanus: I'm also wondering that custom mechanism in general
Fri Mar 10 15:21:42 2017  lexmag_:is it possible that, for example "blob", will be returned as "custom" type
Fri Mar 10 15:21:48 2017  lexmag_:under some conditions
Fri Mar 10 15:22:07 2017  lexmag_:I'm asking since I'm working on new driver
Fri Mar 10 15:22:25 2017  lexmag_:and would like to know if I need to consider "custom" type at all
Fri Mar 10 15:22:43 2017  lexmag_:?
Fri Mar 10 15:23:54 2017  lexmag_:I see that ruby driver has mapping of all existing classes to native types
Fri Mar 10 15:37:51 2017  pcmanus:well, "custom" types are a thing in CQL: http://cassandra.apache.org/doc/latest/cql/types.html#custom-types
Fri Mar 10 15:38:27 2017  pcmanus:So you'll get a custom type if a use uses that (as the doc says, their usage is not particularly encouraged, but if you write a driver, you may want to support everything).
Fri Mar 10 15:39:18 2017  pcmanus:The fact we return genuine type as "custom" in version of the protocol that don't support those new types is more of a hack we're using so those new type can still be used.
Fri Mar 10 15:39:41 2017  pcmanus:But if someone declare a "blob" column in his table, this will never be returned as "custom", no.
Fri Mar 10 16:02:13 2017  lexmag_:pcmanus: I see, thank you
Fri Mar 10 16:02:58 2017  lexmag_:"custom" is indeed a thing, though, it perhaps makes less sense for non-Java languages to support it
Fri Mar 10 16:04:28 2017  lexmag_:except, as you said, for compatibility with older versions
Fri Mar 10 16:15:05 2017  pcmanus:Hum. It's truly not java related.
Fri Mar 10 16:15:35 2017  pcmanus:But I mean, all driver that I know of mostly treat "custom" the exact same as blob.
Fri Mar 10 16:16:59 2017  pcmanus:(I suppose what you mean is that a custom type is defined by a java class; but even then the java class is server side, not available to the driver, so even java drivers simply deal with it as a blob)
Fri Mar 10 16:17:11 2017  lexmag_:pcmanus: good point, I can return it as special data structure (2-element tuple) with blob and and class name
Fri Mar 10 16:17:17 2017  lexmag_:and let user handle it
Fri Mar 10 16:22:38 2017  lexmag_:pcmanus: thanks for valuable info
Fri Mar 10 16:42:07 2017  dikang:Joined the channel
Fri Mar 10 16:48:52 2017  jmckenzie:Joined the channel
Fri Mar 10 16:56:51 2017  tolbertam:Joined the channel
Fri Mar 10 16:58:34 2017  jmckenzie:Joined the channel
Fri Mar 10 16:58:53 2017  Vijay_:Joined the channel
Fri Mar 10 17:33:44 2017  kohlisankalp:Joined the channel
Fri Mar 10 17:37:34 2017  dikang:Joined the channel
Fri Mar 10 18:02:29 2017  jeffj:pcmanus: any chance you want to review #13320 ?
Fri Mar 10 18:02:29 2017  CassBotJr:https://issues.apache.org/jira/browse/CASSANDRA-13320 (Patch Available; Unresolved; Unscheduled): "upgradesstables fails after upgrading from 2.1.x to 3.0.11"
Fri Mar 10 18:20:28 2017  Vijay_:Joined the channel
Fri Mar 10 18:25:57 2017  lexmag:Joined the channel
Fri Mar 10 18:27:30 2017  dikang:Joined the channel
Fri Mar 10 19:01:02 2017  tolbertam:Joined the channel
Fri Mar 10 19:07:02 2017  Vijay_:Joined the channel
Fri Mar 10 19:15:39 2017  makrusak:Joined the channel
Fri Mar 10 19:42:08 2017  aboudreault:Joined the channel
Fri Mar 10 19:48:38 2017  aboudreault:Joined the channel
Fri Mar 10 20:00:10 2017  tolbertam:Joined the channel
Fri Mar 10 20:16:29 2017  Vijay_:Joined the channel
Fri Mar 10 20:57:40 2017  cosql:Joined the channel
Fri Mar 10 20:59:07 2017  cosql:Joined the channel
Fri Mar 10 21:14:23 2017  cosql:Joined the channel
Fri Mar 10 21:15:52 2017  cosql:Joined the channel
Fri Mar 10 21:17:28 2017  stef1927_:Joined the channel
Fri Mar 10 21:50:30 2017  dikang:Joined the channel
Fri Mar 10 22:00:23 2017  tolbertam:Joined the channel
Fri Mar 10 22:05:15 2017  dikang:Joined the channel
Fri Mar 10 23:01:54 2017  adamholmberg:Joined the channel
Fri Mar 10 23:08:22 2017  dikang:Joined the channel
Fri Mar 10 23:11:11 2017  dikang:Joined the channel
Fri Mar 10 23:18:17 2017  tolbertam:Joined the channel
Fri Mar 10 23:36:03 2017  nickmbailey:Joined the channel

Comments