Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-1669

Column Datatype Missing Generating Virtual Table From SELECT Clause Containing A Function And Alias

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.2
    • 8.1
    • Modeling
    • None

    Description

      Create a source model (SourceModel) with one table (SourceTable) that has one column (sourceColumn) of type int. Created a virtual model (VirtualModel) with one table (ViewTable). Opened the transformation editor and entered:

      SELECT SUM(SourceModel.SourceTable.sourceColumn) AS viewColumn FROM SourceModel.SourceTable

      The "viewColumn" column was generated without a data type. Because we know the return type of the function, and the datatype resolver knows how to resolve, the data type should've been determined.

      Attachments

        Activity

          People

            mdrillin1@redhat.com Mark Drilling (Inactive)
            dflorian@redhat.com Daniel Florian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: