Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
MODE-2561 Removes the Teiid DDL parsing logic from the ModeShape DDL parser.

  1. … 38 more files in changeset.
MODE-2561 Removes the Teiid DDL parsing logic from the ModeShape DDL parser.

  1. … 38 more files in changeset.
MODE-2554 Add Geometry Type to Teiid DDL dialect Just needed to add the new GEOMETRY data type to the data type enum. No additional code needed. Wrote test to make sure the parser recognized the new data type.

  1. … 1 more file in changeset.
MODE-2554 Add Geometry Type to Teiid DDL dialect Just needed to add the new GEOMETRY data type to the data type enum. No additional code needed. Wrote test to make sure the parser recognized the new data type.

  1. … 1 more file in changeset.
MODE-2508 Add OPTIONS capability to Procedure ResultSet - changed parser to handle options for result sets. - adde parser and sequencer tests.

  1. … 4 more files in changeset.
MODE-2508 Add OPTIONS capability to Procedure ResultSet - changed parser to handle options for result sets. - adde parser and sequencer tests.

  1. … 4 more files in changeset.
MODE-2534 Teiid DDL sequencer doesn't support GLOBAL or LOCAL TEMP TABLE options Implemented the processing of the create local and create foreign temporary tables. This included adding new node types for all types of temporary tables.

  1. … 5 more files in changeset.
MODE-2534 Teiid DDL sequencer doesn't support GLOBAL or LOCAL TEMP TABLE options Implemented the processing of the create local and create foreign temporary tables. This included adding new node types for all types of temporary tables.

  1. … 5 more files in changeset.
MODE-2470: Fixes to DDL Sequencer

* Addition of TeiidDdl Option Constants to lexicon

* The addition of the TeiidDdl constants used for materialized table

options

* Throw exception if node reference is not available

* AlterOptionsParser

* Since a reference is mandatory for an AlterTable statement, a lack of

reference will result in a ConstraintViolationException. Better to

immediately throw an exception indicating a lack of reference rather

than leaving it as a debugging statement.

* Support vdb model properties

* A vdb model can set key/value properties. These need to be handled by

the teiid sequencer.

  1. … 1 more file in changeset.
MODE-2444 Teiid DDL Importer Processor Error: "Unparsable table body constraint" when importing from SAP HANA There were 2 issues: (1) INDEX was used as a column name in a column definition but was being parsed as a table element constraint, and (2) the parser was not handling embedded quotes in string literals. The parser was modified to handle the way the SQL spec allows for escaping embedding quotes (which is 2 consecutive quotes). Also the parser was changed to look ahead at the next token when it finds a keyword like INDEX when parsing table bodies. Added test cases and the full HANA DDL. This DDL file is huge so only the statements that test the 2 issues are left uncommented.

  1. … 5 more files in changeset.
MODE-2400: Adds support for GLOBAL TEMPORARY tables in DDL Sequencer

* Enhances the Teiid DDL Sequencer with supporting the CREATE GLOBAL

TEMPORARY TABLE syntax, present in Teiid's BNF.

* Includes tests for basic case and specific test to ensure that an AS

statement cannot be appended since this is illegal.

  1. … 2 more files in changeset.
MODE-2396: Fixes Teiid DDL sequencer logic for creating views

* Collapses 'CREATE VIEW' and 'CREATE VIRTUAL VIEW' together to do the

same thing ensuring that the token VIRTUAL is totally optional.

* See MODE-2396 for details of Teiid BNF and parser.

  1. … 1 more file in changeset.
MODE-2388: Enhance DDL Sequencer to account for array data types

* To support Teiid BNF, allow parsing of array data types, eg. integer[],

and store the number of dimensions in the arrayDimensions property.

  1. … 5 more files in changeset.
MODE-2081 Changed the remaining files over to the ASL 2.0 license

  1. … 1040 more files in changeset.
MODE-2148 Added checkstyle to our build, and corrected numerous potential problems or issues in the code. Also removed lots of meaningless JavaDoc

  1. … 359 more files in changeset.
Corrected JavaDoc error

MODE-2070 fixed issues with Teiid DDL file with tables defined out of order that contain FK references

  1. … 7 more files in changeset.
MODE-1985 Teiid DDL parser throws exception parsing column with object datatype Modified Teiid datatype parser to allow length on a type of "OBJECT." This is a new Teiid change.

  1. … 3 more files in changeset.
MODE-1985 Teiid DDL parser throws exception parsing column with object datatype Modified Teiid datatype parser to allow length on a type of "OBJECT." This is a new Teiid change.

  1. … 3 more files in changeset.
MODE-1979 Add second past parsing of Teiid DDL to resolve table references for in-line FK constraints when referenced table has not been parsed yet - added postProcess() method in DdlParser and subclasses - added postProcess() method in StatementParser and subclasses

  1. … 4 more files in changeset.
MODE-1979 Add second past parsing of Teiid DDL to resolve table references for in-line FK constraints when referenced table has not been parsed yet - added postProcess() method in DdlParser and subclasses - added postProcess() method in StatementParser and subclasses

  1. … 4 more files in changeset.
MODE-1931 DdlParsers Parse Improvements Added method to allow parsing DDL using a specific parser. Rewrote parse method to be more efficient. Also removed the caching of the token stream produced from scoring. This caching could cause memory issues for large DDL.

  1. … 11 more files in changeset.
MODE-1930 DDL Parser Should Use JCR Substitution Characters When Creating A Node With A Name Containing Illegal JCR Characters Change AstNode so that it knows how to convert name to valid JCR name. Changed DdlSequencer to use the JCR name of the AstNode when creating JCR nodes.

  1. … 5 more files in changeset.
MODE-1898 Teiid DDL Parser Problems Found When Integrating With Teiid Designer Option namespace parser is now returning an AstNode. Fixed how prefixed property names are formed. Fixed the problem with an extra space appearing in procedure statements. Now generating unique names for constraints (was using the constraint type for the name).

  1. … 5 more files in changeset.
MODE-1898 Teiid DDL Parser Problems Found When Integrating With Teiid Designer Refactored into a new method the code that uses a regex to determine if a column name appears in an index expression. Modified the regex so that it was case insensitive and created a test case for the new method.

  1. … 1 more file in changeset.
MODE-1898 Teiid DDL Parser Problems Found When Integrating With Teiid Designer Changed the visibility of the members of TeiidDdlLexicon to public. Renamed constants that had "NODE" in their name to not include "NODE." Removed the "canBeNull" property. Fixed the process of the INDEX constraint.

  1. … 7 more files in changeset.
MODE-1812 MODE-1812 DDL Parser and Sequencer for Teiid's dialect Add more sequencer tests. Changed the way some nodes are named. Removed all TeiidDdlParser methods that were not being called. Added mix:referenceable to the node types that are being referenced. Removed the "canBeNull" property from the CND and replaced it with the standard DDL property of "nullable." No longer throw exception if a referenced element is not found; now just logging a debug method.

  1. … 10 more files in changeset.
MODE-1812 DDL Parser and Sequencer for Teiid's dialect Saving off initial code. Most of parser is done. Some work in the create trigger needs to be done. And work on sequencer is left to do.

MODE-1812 DDL Parser and Sequencer for Teiid's dialect

Work on getting table, view, procedure, and column references working in various statements.

MODE-1812 Changed CND node types to be mixins. Added sequencer tests.

Changed parser scoring to now include both statements and keywords.

    • -0
    • +349
    ./AlterOptionsParser.java
    • -0
    • +382
    ./CreateProcedureParser.java
    • -0
    • +517
    ./CreateTableParser.java
    • -0
    • +168
    ./CreateTriggerParser.java
    • -0
    • +77
    ./OptionNamespaceParser.java
    • -0
    • +282
    ./StatementParser.java
    • -0
    • +171
    ./TeiidDataTypeParser.java
    • -0
    • +639
    ./TeiidDdlConstants.java
    • -0
    • +297
    ./TeiidDdlLexicon.java
    • -0
    • +420
    ./TeiidDdlParser.java
    • -0
    • +62
    ./TeiidDdlParsingException.java
  1. … 27 more files in changeset.