Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-1071 Improve usability for primary end-to-end use cases
  3. TEIIDDES-1223

Create SQL String Template framework and dialog for use in new view construction and SQL editing

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 7.7
    • 7.6
    • Transformations
    • None

      Could be beneficial to expose a standard library of SQL templates that Designer knows about and uses in our import and object creation wizards.

      EXAMPLES include forms based on :

      SELECT * FROM XXXX
      SELECT a,b,c FROM t1, t2 WHERE t1.a = t2.b

      ======= Generated XML File Importer SQL ==========
      SELECT
      A.x AS x, A.y AS y
      FROM
      (EXEC MP.getTextFiles('myfile.xml')) AS f,
      XMLTABLE('/topelement/secondelement' PASSING XMLPARSE(DOCUMENT f.file)
      COLUMNS x string PATH '/x', y string PATH '/elem_a/elem_b')
      AS A
      ========================

        1. Prototype SQL String Template dialog.bmml
          3 kB
          Barry LaFond
        2. Prototype SQL String Template dialog.bmml
          3 kB
          Barry LaFond
        3. Prototype SQL String Template dialog.png
          38 kB
          Barry LaFond
        4. SQLTemplateDialog.png
          38 kB
          Mark Drilling

            mdrillin1@redhat.com Mark Drilling (Inactive)
            blafond Barry LaFond
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: