zhengruifeng commented on code in PR #40375:
URL: https://github.com/apache/spark/pull/40375#discussion_r1133419950


##########
connector/connect/server/src/main/scala/org/apache/spark/sql/connect/planner/LiteralExpressionProtoConverter.scala:
##########
@@ -192,8 +173,7 @@ object LiteralValueProtoConverter {
     } else if (elementType.hasArray) {
       makeArrayData(v => toArrayData(v.getArray))
     } else {
-      throw InvalidPlanInput(s"Unsupported Literal Type: $elementType)")
+      throw new UnsupportedOperationException(s"Unsupported Literal Type: 
$elementType)")

Review Comment:
   thanks



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to