fix a bug in LogicalPlanUtil needIncludes rkPattern contains("*.") then need patterns