harshmotw-db commented on code in PR #47473: URL: https://github.com/apache/spark/pull/47473#discussion_r1691852875
########## common/variant/src/main/java/org/apache/spark/types/variant/Variant.java: ########## @@ -113,6 +126,11 @@ public String getString() { return VariantUtil.getString(value, pos); } + // Get the type info bits from a variant value. + public int getTypeInfo() { Review Comment: It is used when throwing an `UNKNOWN_PRIMITIVE_TYPE_IN_VARIANT` exception from scopes which don't directly have access to the type info. -- 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