Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-299

o.a.g.cassandra.CassandraStore#newQuery() should not use query.setFields(getFieldsToQuery(null));

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3
    • 0.8
    • gora-cassandra
    • None

    Description

      o.a.g.store.impl.DataStoreBase#getFieldsToQuery states

      DataStoreBase.java
      /** Checks whether the fields argument is null, 
        * and if so returns all the fields of the Persistent object, 
        * else returns the argument.
        */
      

      Right now we do not have the functionality to do field queries in CassandraStore so we need to implement this. Hence the reason the following tests are skipped

      TestCassandraStore.java
        @Ignore("skipped until some bugs are fixed")
        @Override
        public void testQuery() throws IOException {}
        @Ignore("skipped until some bugs are fixed")
        @Override
        public void testQueryStartKey() throws IOException {}
        @Ignore("skipped until some bugs are fixed")
        @Override
        public void testQueryEndKey() throws IOException {}
        @Ignore("skipped until some bugs are fixed")
        @Override
        public void testQueryKeyRange() throws IOException {}
        @Ignore("skipped until some bugs are fixed")
        @Override
        public void testQueryWebPageSingleKey() throws IOException {}
        @Ignore("skipped until some bugs are fixed")
        @Override
        public void testQueryWebPageSingleKeyDefaultFields() throws IOException {}
        @Ignore("skipped until some bugs are fixed")
        @Override
        public void testQueryWebPageQueryEmptyResults() throws IOException {}
      

      Attachments

        Activity

          People

            madhawa Madhawa Kasun Gunasekara
            lewismc Lewis John McGibbney
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: