MaxGekk commented on code in PR #44871:
URL: https://github.com/apache/spark/pull/44871#discussion_r1466500748
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/ColumnType.scala:
##########
@@ -829,7 +829,7 @@ private[columnar] object ColumnType {
case map: MapType => MAP(PhysicalMapType(map.keyType, map.valueType,
map.valueContainsNull))
case struct: StructType => STRUCT(PhysicalStructType(struct.fields))
case udt: UserDefinedType[_] => ColumnType(udt.sqlType)
- case other => throw QueryExecutionErrors.unsupportedTypeError(other)
+ case other => throw ExecutionErrors.unsupportedDataTypeError(dataType)
Review Comment:
nit: Pass `other` as the argument or replace it by `_`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]