atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suma Shivaprasad (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-30) GraphBackedDiscoveryServiceTest.testSearchByDSLQueries and GraphRepoMapperScaleTest.testSearchIndex should assert on number of results per query
Date Tue, 23 Jun 2015 08:31:00 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Suma Shivaprasad updated ATLAS-30:
----------------------------------
    Summary: GraphBackedDiscoveryServiceTest.testSearchByDSLQueries and GraphRepoMapperScaleTest.testSearchIndex
should assert on number of results per query  (was: GraphBackedSearchIndexer.testSearchByDSLQueries
and GraphRepoMapperScaleTest.testSearchIndex should assert on number of results per query)

> GraphBackedDiscoveryServiceTest.testSearchByDSLQueries and GraphRepoMapperScaleTest.testSearchIndex
should assert on number of results per query
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-30
>                 URL: https://issues.apache.org/jira/browse/ATLAS-30
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.5-incubating
>            Reporter: Suma Shivaprasad
>
> Currently , the tests are accepting only the input query in the dataprovider, they should
accept both input query and expected number of rows. 
> Also all the queries running are returning query 0 rows. This needs to be investigated
and fixed.
> query [from DB] returned [0] rows
> query [DB] returned [0] rows
> query [DB where DB.name="Reporting"] returned [0] rows
> query [DB DB.name = "Reporting"] returned [0] rows
> query [DB where DB.name="Reporting" select name, owner] returned [0] rows
> query [DB has name] returned [0] rows
> query [DB, Table] returned [0] rows
> query [DB is JdbcAccess] returned [0] rows
> query [from Table] returned [0] rows
> query [Table] returned [0] rows
> query [Table is Dimension] returned [0] rows
> query [Column where Column isa PII] returned [0] rows
> query [View is Dimension] returned [0] rows
> query [Column select Column.name] returned [0] rows
> query [Column select name] returned [0] rows
> query [Column where Column.name="customer_id"] returned [0] rows
> query [from Table select Table.name] returned [0] rows
> query [DB where (name = "Reporting")] returned [0] rows
> query [DB where (name = "Reporting") select name as _col_0, owner as _col_1] returned
[0] rows
> query [DB where DB is JdbcAccess] returned [0] rows
> query [DB where DB has name] returned [0] rows
> query [DB Table] returned [0] rows
> query [DB where DB has name] returned [0] rows
> query [DB as db1 Table where (db1.name = "Reporting")] returned [0] rows
> query [DB where (name = "Reporting") select name as _col_0, (createTime + 1) as _col_1
] returned [0] rows
> query [Table where (name = "sales_fact" and created > "2014-01-01T00:00:00.000Z" )
select name as _col_0, created as _col_1 ] returned [0] rows
> query [Table where (name = "sales_fact" and created > "2014-12-11T02:35:58.440Z" )
select name as _col_0, created as _col_1 ] returned [0] rows
> query [Dimension] returned [0] rows
> query [JdbcAccess] returned [0] rows
> query [ETL] returned [0] rows
> query [Metric] returned [0] rows
> query [PII] returned [0] rows
> query [Table LoadProcess outputTable] returned [0] rows
> query [Table loop (LoadProcess outputTable)] returned [0] rows
> query [Table as _loop0 loop (LoadProcess outputTable) withPath] returned [0] rows
> query [Table as src loop (LoadProcess outputTable) as dest select src.name as srcTable,
dest.name as destTable withPath] returned [0] rows
> query [Table as t, sd, Column as c where t.name="sales_fact" select c.name as colName,
c.dataType as colType] returned [0] rows
> query [Table where name='sales_fact', db where name='Reporting'] returned [0] rows



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message