Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DRILL-7310: Move schema-related classes from exec module to be able to use them in metastore module

closes #1816

  1. … 101 more files in changeset.
DRILL-6965: Implement schema table function parameter

1. Added common schema table function parameter with can be used as single unit or with format plugin table function parameters.

2. Allowed creating schema without columns, in case if user needs only to indicate table properties.

3. Added unit tests.

closes #1777

  1. … 30 more files in changeset.
DRILL-7092: Rename map to struct in schema definition 1. Renamed map to struct in schema parser. 2. Updated sqlTypeOf function to return STRUCT instead of MAP, drillTypeOf function will return MAP as before until internal renaming is done. 3. Add is_struct alias to already existing is_map function. Function should be revisited once Drill supports true maps. 4. Updated unit tests.

closes #1688

  1. … 5 more files in changeset.
DRILL-7073: CREATE SCHEMA command / TupleSchema / ColumnMetadata improvements

1. Add format, default, column properties logic.

2. Changed schema JSON after serialization.

3. Added appropriate unit tests.

closes #1684

  1. … 13 more files in changeset.
DRILL-6964: Implement CREATE / DROP SCHEMA commands

Note: this PR only adds support for CREATE / DROP SCHEMA commands which allow to store and delete schema. Schema usage during querying the data will be covered in other PRs.

1. Added parser methods / handles to parse CREATE / DROP schema commands.

2. Added SchemaProviders classes to separate ways of schema provision (file, table function).

3. Added schema parsing using ANTLR4 (lexer, parser, visitors).

4. Added appropriate unit tests.

close apache/drill#1615

    • -0
    • +90
    ./drill/exec/record/metadata/schema/parser/SchemaLexer.g4
    • -0
    • +72
    ./drill/exec/record/metadata/schema/parser/SchemaParser.g4
  1. … 34 more files in changeset.