dynamobi/dynamobi — Issue #734: [FRG-137] Extract columns fails when performed after extract tables is done non-recursively.
Author: dynamobi-build
Created: 2011-12-30 03:46:01+00:00
State: closed
Labels: FRG, SQL/MED

[reporter="kkrueger", created="Wed, 31 May 2006 14:21:53 -0500 (GMT-05:00)"]
1. extract a table without recursing.

2. After #1 completes, extract the same table's columns.

Step 2 fails because MedJdbcNameDirectory allocates two empty lists and doesn't fill them in when wantTables is false and wantColumns is true.

Here's a snippet of the code involved.

[For now, I will change the way the sink works in ALS to avoid this situation].

List tableListActual = new ArrayList();

List tableListOptimized = new ArrayList();

if (wantTables) {

if (!queryTables(

query, sink, tableListActual, tableListOptimized))

{

return false;

}

}

if (wantColumns) {

if (!queryColumns(

query, sink, tableListActual, tableListOptimized))