com.datastax.driver.core.exceptions.InvalidQueryException: no keyspace has been specified

DataStax JIRA | Asif U | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    collector fails after upgrading from 1.39.9 to 1.40.2

    GitHub | 10 months ago | liyichao
    com.datastax.driver.core.exceptions.InvalidQueryException: Partition KEY part service_name cannot be restricted by IN relation (only the last part of the partition key can)
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Not allowed to query with all of partition Keys(cassandra) with Equals

    GitHub | 11 months ago | venkatesh-rudraraju
    java.io.IOException: Exception during preparation of _**SELECT "dtid", "created", "deleted" FROM "metricsdb"."device_counts_by_hour" WHERE token("period") > ? AND token("period") <= ? AND period = 2016033123 ALLOW FILTERING**_: period cannot be restricted by more than one relation if it includes an Equal

    4 unregistered visitors

    Root Cause Analysis

    1. com.datastax.driver.core.exceptions.InvalidQueryException

      no keyspace has been specified

      at com.datastax.driver.core.exceptions.InvalidQueryException.copy()
    2. DataStax Java Driver for Apache Cassandra - Core
      AbstractSession.prepare
      1. com.datastax.driver.core.exceptions.InvalidQueryException.copy(InvalidQueryException.java:35)
      2. com.datastax.driver.core.DefaultResultSetFuture.extractCauseFromExecutionException(DefaultResultSetFuture.java:256)
      3. com.datastax.driver.core.AbstractSession.prepare(AbstractSession.java:79)
      3 frames
    3. com.pro.emp
      PhotoAlbumList.call
      1. com.pro.emp.dao.PhotoAlbumDAO.getAllAblumnsWithLatest(PhotoAlbumDAO.java:189)
      2. com.pro.emp.servlets.post.PhotoAlbumList.getPhotoAlbums(GetMoreData.java:251)
      3. com.pro.emp.servlets.post.PhotoAlbumList.call(GetMoreData.java:246)
      4. com.pro.emp.servlets.post.PhotoAlbumList.call(GetMoreData.java:1)
      4 frames
    4. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      2. java.util.concurrent.FutureTask.run(Unknown Source)
      2 frames