Class QueryValidations

java.lang.Object
org.apache.druid.sql.calcite.planner.QueryValidations

public class QueryValidations extends Object
  • Constructor Details

    • QueryValidations

      public QueryValidations()
  • Method Details

    • validateLogicalQueryForDruid

      public static void validateLogicalQueryForDruid(PlannerContext plannerContext, org.apache.calcite.rel.RelNode relNode) throws org.apache.calcite.tools.ValidationException
      Validate a RelNode prior to attempting to convert it to a Druid query. Useful for generating nice error messages for things we know we definitely don't support.
      Throws:
      org.apache.calcite.tools.ValidationException