[reporter="kkrueger", created="Wed, 31 May 2006 14:21:53 -0500 (GMT-05:00)"]
extract a table without recursing.
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))
[reporter="kkrueger", created="Wed, 31 May 2006 14:21:53 -0500 (GMT-05:00)"]
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))