tuplejump / calliope

Calliope is a library integrating Cassandra and Spark framework.
http://tuplejump.github.io/calliope/
Apache License 2.0
28 stars 5 forks source link

cacheTable doesn't work #40

Closed bobbych closed 6 years ago

bobbych commented 10 years ago

sparksql context caching looks like is not working, i am executing below code

val cc = new org.apache.spark.sql.CassandraAwareSQLContext(sc) cc.cacheTable("demo.search") cc.sql("select * from demo.search").count()

every time i try to query i getting CassandraTableScan

However, if it do same in hive context it seems to work it now returning plan InMemoryColumnarTableScan

milliondreams commented 10 years ago

@bobbych that is a bug... We will fix it in the next release.

bobbych commented 10 years ago

@milliondreams thanks, i had another question will open a different issue