LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
52 stars 24 forks source link

[FRG-137] Extract columns fails when performed after extract tables is done non-recursively. #734

Closed dynamobi-build closed 12 years ago

dynamobi-build commented 12 years ago

[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))
dynamobi-build commented 12 years ago

[author="jvs", created="Thu, 1 Jun 2006 00:29:28 -0500 (GMT-05:00)"] Fixed by eigenchange 6759.