db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunitha Kambhampati (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1660) SYSCS_BULK_INSERT fails with syntax error at PROPERTIES clause.
Date Thu, 10 Aug 2006 16:32:14 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1660?page=all ]

Sunitha Kambhampati updated DERBY-1660:
---------------------------------------

    Derby Info: [Patch Available]

> SYSCS_BULK_INSERT fails with syntax error at PROPERTIES clause.
> ---------------------------------------------------------------
>
>                 Key: DERBY-1660
>                 URL: http://issues.apache.org/jira/browse/DERBY-1660
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.2.0.0
>            Reporter: Sunitha Kambhampati
>         Assigned To: Sunitha Kambhampati
>            Priority: Minor
>             Fix For: 10.2.0.0
>
>         Attachments: bulkinsert.diff.txt
>
>
> Calling procedure SYSCS_BULK_INSERT  fails in 10.2 , throwing a syntax error when it
sees the PROPERTIES clause.
> SystemProcedures.SYSCS_BULK_INSERT uses the following sql query.
>        String binsertSql =
>            "insert into " + entityName +
>            " PROPERTIES insertMode=bulkInsert " +
>            "select * from new " + vtiName +
>            "(" +
>            "'" + schemaName + "'" + ", " +
>            "'" + tableName + "'" +  ", " +
>            "'" + vtiArg + "'" +  ")" +
>            " as t";
> I think because of the optimizer overrides in 10.2, this query does not work. 
> Instead of the PROPERTIES clause, we should now use --DERBY-PROPERTIES.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message