I ran a query with join and group by with below settings, COB failed due to NullPointerException in HiveAggregate.isBucketedInput()
In class HiveRelMdDistribution, we implemented below functions:
public RelDistribution distribution(HiveAggregate aggregate, RelMetadataQuery mq)
public RelDistribution distribution(HiveJoin join, RelMetadataQuery mq)
But in HiveAggregate.isBucketedInput, the argument passed to distribution is "this.getInput()"
, obviously it's not right here. The right argument needed is "this"