Support unneeded schema names in overviews queries

Fixes #420
Keep table schema of overviews base tables and use it
to support queries that use the schema name when not
strictly needed.
This commit is contained in:
Javier Goizueta
2016-04-19 22:50:05 +02:00
parent 6b942ecf0b
commit 7902b276ad
7 changed files with 91 additions and 2 deletions
@@ -75,6 +75,7 @@ describe('MapConfigOverviewsAdapter', function() {
var expected_data = {
overviews: {
test_table_overviews: {
schema: 'public',
1: { table: '_vovw_1_test_table_overviews' },
2: { table: '_vovw_2_test_table_overviews' }
}
@@ -40,6 +40,7 @@ describe('OverviewsMetadataApi', function() {
assert.deepEqual(result, {
'test_table_overviews': {
schema: 'public',
1: { table: '_vovw_1_test_table_overviews' },
2: { table: '_vovw_2_test_table_overviews' }
}