[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-10-18 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15585349#comment-15585349 ] Benjamin Lerer commented on CASSANDRA-11873: Pushed the 3.X patch at

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-10-14 Thread Tyler Hobbs (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15576856#comment-15576856 ] Tyler Hobbs commented on CASSANDRA-11873: - +1 after the new changes, they look good. bq. In

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-10-06 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15552969#comment-15552969 ] Benjamin Lerer commented on CASSANDRA-11873: bq. Perhaps we should just specify that

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-10-05 Thread Tyler Hobbs (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15549214#comment-15549214 ] Tyler Hobbs commented on CASSANDRA-11873: - It also occurred to me that set items and map keys

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-10-04 Thread Tyler Hobbs (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15546915#comment-15546915 ] Tyler Hobbs commented on CASSANDRA-11873: - This looks pretty solid so far. I haven't

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-09-26 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15522414#comment-15522414 ] Benjamin Lerer commented on CASSANDRA-11873:

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-08-31 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15452092#comment-15452092 ] Benjamin Lerer commented on CASSANDRA-11873: {quote}we make that type non-comparable (we

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-08-31 Thread Sylvain Lebresne (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15451804#comment-15451804 ] Sylvain Lebresne commented on CASSANDRA-11873: -- bq. it is not always possible to

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-08-31 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15451669#comment-15451669 ] Benjamin Lerer commented on CASSANDRA-11873: I realised that there is 2 problem with my

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-17 Thread Sylvain Lebresne (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15336215#comment-15336215 ] Sylvain Lebresne commented on CASSANDRA-11873: -- bq. I understand the rational of the

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-17 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15336117#comment-15336117 ] Benjamin Lerer commented on CASSANDRA-11873: bq. What CQL type has nanosecond resolution?

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-17 Thread Brian Hess (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15335986#comment-15335986 ] Brian Hess commented on CASSANDRA-11873: - That largely covers my thoughts, with a couple

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-17 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15335863#comment-15335863 ] Benjamin Lerer commented on CASSANDRA-11873: bq. it's not easily compatible with making

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-17 Thread Sylvain Lebresne (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15335787#comment-15335787 ] Sylvain Lebresne commented on CASSANDRA-11873: -- bq. Does it statisfies everybody?

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-17 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15335673#comment-15335673 ] Benjamin Lerer commented on CASSANDRA-11873: My proposal is the following: * Support for:

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-16 Thread Tyler Hobbs (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15334073#comment-15334073 ] Tyler Hobbs commented on CASSANDRA-11873: - This is a good point to take a step back and plan

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-16 Thread Brian Hess (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15334052#comment-15334052 ] Brian Hess commented on CASSANDRA-11873: - I will save the discussion/debate on the

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-16 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15333706#comment-15333706 ] Benjamin Lerer commented on CASSANDRA-11873: bq. What about leap year? I think that

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-16 Thread Sylvain Lebresne (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15333585#comment-15333585 ] Sylvain Lebresne commented on CASSANDRA-11873: -- For the record, CQL is not SQL and it's

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-16 Thread Brian Hess (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15333529#comment-15333529 ] Brian Hess commented on CASSANDRA-11873: - Being subtlety different on syntax is in some

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-16 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1528#comment-1528 ] Benjamin Lerer commented on CASSANDRA-11873: I am -1 on this. I think those syntaxes are

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-16 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1529#comment-1529 ] Benjamin Lerer commented on CASSANDRA-11873: I am -1 on this. I think those syntaxes are

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-16 Thread Sylvain Lebresne (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1527#comment-1527 ] Sylvain Lebresne commented on CASSANDRA-11873: -- Well, # We're not reinventing the wheel,

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-15 Thread Patrick McFadin (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15332694#comment-15332694 ] Patrick McFadin commented on CASSANDRA-11873: - I am +1 on this. Making up completely new

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-15 Thread Brian Hess (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15332685#comment-15332685 ] Brian Hess commented on CASSANDRA-11873: - So, one question about syntax. SQL has a time

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-15 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15331333#comment-15331333 ] Benjamin Lerer commented on CASSANDRA-11873: I am not sure of what {{date1}} and

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-14 Thread Tyler Hobbs (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15330686#comment-15330686 ] Tyler Hobbs commented on CASSANDRA-11873: - {quote} Will you be able to bind to the duration?

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-14 Thread Brian Hess (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15330154#comment-15330154 ] Brian Hess commented on CASSANDRA-11873: - This raises an interesting question. Will you be

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-14 Thread Alex P (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15330135#comment-15330135 ] Alex P commented on CASSANDRA-11873: I was thinking that from a parameterization and

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-14 Thread Tyler Hobbs (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15330084#comment-15330084 ] Tyler Hobbs commented on CASSANDRA-11873: - In {{CQL.textile}}, the {{jsonEncoding}} section

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-14 Thread Jon Haddad (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15329877#comment-15329877 ] Jon Haddad commented on CASSANDRA-11873: I'm +1 to all of Sylvain's points. I would

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-14 Thread Sylvain Lebresne (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15329196#comment-15329196 ] Sylvain Lebresne commented on CASSANDRA-11873: -- bq. I was wondering if instead of

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-13 Thread Alex P (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15328892#comment-15328892 ] Alex P commented on CASSANDRA-11873: (Apologies for seeing this ticket so late) I was wondering

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-09 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15323457#comment-15323457 ] Benjamin Lerer commented on CASSANDRA-11873:

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-06 Thread Sylvain Lebresne (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15317719#comment-15317719 ] Sylvain Lebresne commented on CASSANDRA-11873: -- bq. use {{µs}} instead of {{us}} Why

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-03 Thread Jon Haddad (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15314868#comment-15314868 ] Jon Haddad commented on CASSANDRA-11873: +1 also on us, instead of µs > Add duration type >

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-03 Thread Patrick McFadin (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15314843#comment-15314843 ] Patrick McFadin commented on CASSANDRA-11873: - +1 on _us_ instead of _µs_ I can't even

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-06-03 Thread Tyler Hobbs (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15314784#comment-15314784 ] Tyler Hobbs commented on CASSANDRA-11873: - Overall, I like the design for the Duration type.

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-05-30 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15306407#comment-15306407 ] Benjamin Lerer commented on CASSANDRA-11873: [~thobbs] could you review? > Add duration

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-05-30 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15306403#comment-15306403 ] Benjamin Lerer commented on CASSANDRA-11873:

[jira] [Commented] (CASSANDRA-11873) Add duration type

2016-05-23 Thread Benjamin Lerer (JIRA)
[ https://issues.apache.org/jira/browse/CASSANDRA-11873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15296147#comment-15296147 ] Benjamin Lerer commented on CASSANDRA-11873: One interesting question is what type of