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

Venkatesh Seetharam commented on FALCON-176:
--------------------------------------------

Hi [~shwethags], I think this is taken care of. Also, there are significant 
amount of unit tests covering all scenarios at 
org.apache.falcon.entity.StorageFactoryTest, specifically methods with 
tableDataProvider. Also, the replication int-test overrides source and target 
DBs.

{code}
    protected static CatalogTable getTable(Cluster cluster, Feed feed) {
        // check if table is overridden in cluster
        if (cluster.getTable() != null) {
            return cluster.getTable();
        }

        return feed.getTable();
    }
{code}

> getTable should handle cluster specific tables
> ----------------------------------------------
>
>                 Key: FALCON-176
>                 URL: https://issues.apache.org/jira/browse/FALCON-176
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Shwetha G S
>
> Feed can have cluster specific table defined. So, FeedHelper.getTable(Cluster 
> cluster, Feed feed) should return correct table corresponding to the cluster 
> specified



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to