gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-299) o.a.g.cassandra.CassandraStore#newQuery() should not use query.setFields(getFieldsToQuery(null));
Date Wed, 23 Aug 2017 21:04:00 GMT

    [ https://issues.apache.org/jira/browse/GORA-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16139106#comment-16139106
] 

Lewis John McGibbney commented on GORA-299:
-------------------------------------------

[~madhawa] is this implemented in GORA-497 ?

> o.a.g.cassandra.CassandraStore#newQuery() should not use query.setFields(getFieldsToQuery(null));
> -------------------------------------------------------------------------------------------------
>
>                 Key: GORA-299
>                 URL: https://issues.apache.org/jira/browse/GORA-299
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-cassandra
>    Affects Versions: 0.3
>            Reporter: Lewis John McGibbney
>             Fix For: 0.8
>
>
> o.a.g.store.impl.DataStoreBase#getFieldsToQuery states
> {code:title=DataStoreBase.java|borderStyle=solid}
> /** Checks whether the fields argument is null, 
>   * and if so returns all the fields of the Persistent object, 
>   * else returns the argument.
>   */
> {code}
> 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
> {code:title=TestCassandraStore.java|borderStyle=solid}
>   @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 {}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message