kunal642 commented on a change in pull request #4148:
URL: https://github.com/apache/carbondata/pull/4148#discussion_r678023226
##########
File path:
integration/spark/src/main/scala/org/apache/spark/sql/optimizer/CarbonFilters.scala
##########
@@ -286,6 +287,11 @@ object CarbonFilters {
val (columnName, instance) = getGeoHashHandler(relation.carbonTable)
Some(new PolygonRangeListExpression(children.head.toString(),
children.last.toString(),
columnName, instance))
+ case _: BlockPathsUDF =>
+ if (children.size > 1) {
+ throw new MalformedCarbonCommandException("Expect one string in
polygon")
Review comment:
exception message is not proper, please fix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]