Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.19.0
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
- is superceded by
-
CALCITE-3136 Fix the default rule description of ConverterRule.
-
- Closed
-
- links to