harshmotw-db commented on code in PR #47473:
URL: https://github.com/apache/spark/pull/47473#discussion_r1691942388


##########
common/variant/src/main/java/org/apache/spark/types/variant/Variant.java:
##########
@@ -88,6 +91,16 @@ public long getLong() {
     return VariantUtil.getLong(value, pos);
   }
 
+  // Get the start and end fields of a year-month interval from the variant.
+  public IntervalFields getYearMonthIntervalFields() {

Review Comment:
   `schemaOf`, `cast from variant` and `to_json`



-- 
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