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

Dynamic VDB doesn't contains apostrophe around procedure

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 10.0.2
    • Fix Version/s: None
    • Component/s: Dynamic VDBs
    • Labels:
      None
    • Steps to Reproduce:
      1. Import project
      2. Generate dynamic VDB
      3. Look at BooksMatView table

      Description

      I have a project with JDG materialization. I have set
      After load script to: execute BookCacheSource.native('swap cache names');
      and
      Before load script to: execute BookCacheSource.native('truncate cache');

      When I generated Dynamic VDB and I want to deploy it, server shows me error that:

      org.teiid.api.exception.query.QueryParserException: TEIID31100 Parsing error: Encountered ", \"teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT\" 'execute BookCacheSource.native('[*]swap[*] cache names" at line 10, column 188.
      Was expecting: "," | ")"
      

      When I added another apostrophe to procedures in the DDL,
      execute BookCacheSource.native(''truncate cache'');
      execute BookCacheSource.native(''swap cache names'');
      deploy was successful.
      I think that DDL parser should add it automatically.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  mkralik Matej Kralik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: