LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  DB STORE - setnumcolumns error

    Employee
    Posted 08-10-2009 09:31

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: PGeee

    i have this error with a DB store. I even get it if I Query the same table then load the output striaght back into the DB Store. Any clues would be so appreciated.

    ERROR initializing expert output:
    num columns not set. call setNumColumns.

    this is the rest of the log


    Installing log (08/10/2009 19:00:39) ...
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'AccountExternalId' (translated to 'AccountExternalId') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'AccountInternalId' (translated to 'AccountInternalId') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'ServiceExternalId' (translated to 'ServiceExternalId') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'ServiceExternalIdType' (translated to 'ServiceExternalIdType') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'ServiceInternalId' (translated to 'ServiceInternalId') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'ServiceInternalIdResets' (translated to 'ServiceInternalIdResets') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'Level' (translated to 'Level') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'TypeIdNrc' (translated to 'TypeIdNrc') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'Amount' (translated to 'Amount') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tab leio 20:00:39; Level: 2; Type: 0; Desc: "Field 'CurrencyCode' (translated to 'CurrencyCode') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'EffectiveDate' (translated to 'EffectiveDate') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'Annotation' (translated to 'Annotation') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::init\Brain_4_1_2\\ra_dev\\code\\so urce\\tableio\\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'ErrorCode' (translated to 'ErrorCode') of type string not found in table"; File: "\\src\\ent_1') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'Estimated_Processing_Date' (translated to 'Estimated_Processing_Date') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'Filename' (translated to 'Filename') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'Comment_2' (translated to 'Comment_2') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Field 'Comment_3' (translated to 'Comment_3') of type string not found in table"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 703; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "num columns not set. call setNumColumns."; File: "\\src\\Brain_4_1_2\\jigsaw\\Code\\Source\\Db\\DBI nsertLoaderContext.cpp"; Line: 204; Context: "DBInsertLoaderContext::CreateLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "Error creating loader"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\tableio \\DBTableOutput.cpp"; Line: 777; Context: "DBTableOutput::initializeLoader()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "...handling expression #1 in file"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\brain\\ ExprTableIo.cpp"; Line: 86; Context: "Salmon::NED::ExprTableIo::initialize()"
    2009-08-10 20:00:39; Level: 2; Type: 0; Desc: "...exception seen"; File: "\\src\\Brain_4_1_2\\ra_dev\\code\\source\\brain\\ NodeControl.cpp"; Line: 1057; Context: "Salmon::NED::NodeControl::initializeExpert()"
    Uninstalling log (08/10/2009 19:00:39) ...


  • 2.  RE: DB STORE - setnumcolumns error

    Employee
    Posted 08-11-2009 17:41

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mmarinelli

    Could you attach the graph, or paste the query and loader nodes to the forum? Even without access to the underlying database tables, it will be useful to see how the nodes' parameters are set when trying to reproduce this problem. Thanks.


  • 3.  RE: DB STORE - setnumcolumns error

    Employee
    Posted 08-12-2009 18:02

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rboccuzzi

    It appears that this is the message you get if none of the fields in your input map to any columns in the database.

    The log messages above are telling you how each of the fields don't map to the table; apparently none of the fields map.

    I will log a bug in that the error message is too vague; it should report that there are no fields mapped from the input onto any database columns, so nothing to load.

    Cheers
    Rich


  • 4.  RE: DB STORE - setnumcolumns error

    Employee
    Posted 08-12-2009 18:32

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rboccuzzi

    i missed the comment that you first dropped the data from the same table that you are loading. This to me implies that something is being done in converting the names or types on either the extraction or loading of the data. As requested above, can you provide the graph or the DB Query and DB Load nodes...and more importtantly, can you provide the schema (or SQL to create) the table you are dealing with?

    Rich


  • 5.  RE: DB STORE - setnumcolumns error

    Employee
    Posted 08-13-2009 05:40

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: PGeee

    Hi Rich and thanks for your comments. It is indeed a case of no columns matching. I agree that the error message should be more specific.

    I did manage to fix this yeterday. I installed d an older version of the ODBC connector for MySQL. However, i think in the end the problem was actually because I did not have the database specified in the ODBC connector parameters. It seems a select query via lavastorm works perfectly well if the database is not specified, as it must work out the database via the data source field, which I had specified. Whereas an update does not, it returns the error I posted.