Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-3099

The description of SplunkPushDownRule doesn't match expression check in RelOptRule

    XMLWordPrintableJSON

Details

    Description

      Some SplunkPushDownRule instance has a description that contains spaces, for example:

      The description of PROJECT_ON_FILTER is "proj on filter on proj", which doesn't match the expression check in RelOptRule:

      if (!description.matches("[A-Za-z][-A-Za-z0-9_.():]*")) {
            throw new RuntimeException("Rule description '" + description
                + "' is not valid");
          }
      

      The constructor of SplunkPushDownRule also contains spaces when invoking super():

        /** Creates a SplunkPushDownRule. */
        protected SplunkPushDownRule(RelOptRuleOperand rule,
            RelBuilderFactory relBuilderFactory, String id) {
          super(rule, relBuilderFactory, "SplunkPushDownRule: " + id);
        }
      

      Attachments

        Issue Links

          Activity

            People

              Shawn732 Shawn Chen
              Shawn732 Shawn Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m