Uploaded image for project: 'Pentaho Data Integration - Kettle'
  1. Pentaho Data Integration - Kettle
  2. PDI-2776

improve support Sybase IQ 12.x (fix PDI-2472 et al)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.3, 4.0.0 GA
    • Component/s: Spoon / User Interface
    • Labels:
      None
    • Environment:
      code developed in win vista , java sdk EE 5,
      tested using sybase jConnect 6.0 , PDI 3.2.0 in win vista/xp and sybase iq ver 12.0.x win xp and 12.5 in sun solaris
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.
    • Browser:
      Mozilla Firefox 3.0
    • Operating System/s:
      Windows Vista, Windows XP

      Description

      PDI-2472 is due to the fact
      that sybase iq jdbc driver (jconn3.jar,jTDS3.jar) does not implement getMetaData() method ( so we
      have to use getQueryFieldsFallback() ) ,
      and also due to the lack of using schema name when making a list of objects (tables, views etc). The
      latter has been corrected by editing getSchemaTableCombination().

      Also (apart from PDI-2472) the sql query for sybase iq platform in getFirstRows() has been edited in
      order to use the Sybase IQ "dialect" SELECT TOP <nbr> ... instead of requesting all rows from the server
      and filtering on the client (it is not likely to work out for a table with x million rows -

      Methods affected:

      @ org.pentaho.di.core.database.Database

      org.pentaho.di.core.database.Database.getQueryFields
      org.pentaho.di.core.database.Database.getFirstRows

      @ org.pentaho.di.core.database.SybaseIQDatabaseMeta

      org.pentaho.di.core.database.SybaseIQDatabaseMeta.getSchemaTableCombination
      org.pentaho.di.core.database.SybaseIQDatabaseMeta.useSchemaNameForTableList
      org.pentaho.di.core.database.SybaseIQDatabaseMeta.getSQLQueryFields

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gdavid Golda Thomas
                Reporter:
                michail.barberis@gmail.com Michail Barberis
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: