You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by 朴元奎 <pi...@gmail.com> on 2015/11/14 01:52:07 UTC
Is it possible to group by timestamp in hour, day, weeks.. in Cassandra?
I see spark can do this by UDF.
Aggregation with Group By date in Spark SQL
<http://stackoverflow.com/questions/30052937/aggregation-with-group-by-date-in-spark-sql>
http://stackoverflow.com/questions/30052937/aggregation-with-group-by-date-in-spark-sql
--
朴元奎
kerwin
Re: Is it possible to group by timestamp in hour, day, weeks.. in Cassandra?
Posted by Benjamin Lerer <be...@datastax.com>.
Hi,
For the moment C* does not support Group by in SelectStatement.
I have started to work on CASSANDRA-10707
<https://issues.apache.org/jira/browse/CASSANDRA-10707> for adding it. Once
it is implemented my plan is to add the ability to group by time.
We also plan to add support for goup by within Materialized View (
CASSANDRA-9778) <https://issues.apache.org/jira/browse/CASSANDRA-9778>
[image: datastax_logo.png] <http://www.datastax.com/>
Benjamin Lerer
Software Engineer| +41 76 396 64 60 | benjamin.lerer@datastax.com
[image: linkedin.png]
<http://ch.linkedin.com/pub/benjamin-lerer/2/303/784/> [image:
facebook.png] <https://www.facebook.com/datastax> [image: twitter.png]
<https://twitter.com/datastax> [image: g+.png]
<https://plus.google.com/+Datastax/about>
<http://feeds.feedburner.com/datastax> <https://github.com/datastax/>
On Sat, Nov 14, 2015 at 1:52 AM, 朴元奎 <pi...@gmail.com> wrote:
> I see spark can do this by UDF.
>
> Aggregation with Group By date in Spark SQL
> <
> http://stackoverflow.com/questions/30052937/aggregation-with-group-by-date-in-spark-sql
> >
>
> http://stackoverflow.com/questions/30052937/aggregation-with-group-by-date-in-spark-sql
> --
> 朴元奎
> kerwin
>