Uploaded image for project: 'JDBC'
  1. JDBC
  2. JDBC-8

JDBC should handle files with decorated record definitions

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Not specified
    • Resolution: Invalid
    • None
    • None
    • Driver
    • None

    Description

      select * from hthor::a;
      resulted in this ecl code:
      import std;
      TblDS0RecDef := RECORD maxlength(256) string album; string song; END;
      TblDS0 := DATASET('~hthor::a', TblDS0RecDef,FLAT);
      SelectStruct := RECORD
      string song := TblDS0.song;
      maxlength(256) string album := TblDS0.album;
      END;

      hthor::a is defined as:

      {,maxlength(256) string album, string song }

      ;

      TblDS0Table := TABLE( TblDS0, SelectStruct );
      OUTPUT(CHOOSEN(TblDS0Table,100),NAMED('JDBCSelectQueryResult'));

      Attachments

        Activity

          People

            rpastrana Rodrigo Pastrana
            rpastrana Rodrigo Pastrana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: