Package org.apache.drill.exec.planner.sql

Examples of org.apache.drill.exec.planner.sql.DrillConvertletTable


  public void checkComplexExpressionParsing() throws Exception{
    FrameworkConfig config = Frameworks.newConfigBuilder() //
        .lex(Lex.MYSQL) //
        .parserFactory(DrillParserImpl.FACTORY) //
        .defaultSchema(SimpleOptiqSchema.createRootSchema(false)) //
        .convertletTable(new DrillConvertletTable()) //
        .build();
    Planner planner = Frameworks.getPlanner(config);

    SqlNode node = planner.parse(""
        + "select a[4].c \n"
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.planner.sql.DrillConvertletTable

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.