From 7dde0eea30cf0ec420795e177619c4c18f83f217 Mon Sep 17 00:00:00 2001 From: terma Date: Mon, 30 Jan 2017 18:34:15 -0500 Subject: [PATCH] SPARK-16636 Add CalendarIntervalType to documentation --- docs/sql-programming-guide.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md index c60088d58cf58..8ca55d1f66979 100644 --- a/docs/sql-programming-guide.md +++ b/docs/sql-programming-guide.md @@ -1931,6 +1931,11 @@ You can access them by doing DateType + + CalendarIntervalType + org.apache.spark.unsafe.types.CalendarInterval + CalendarIntervalType + ArrayType scala.collection.Seq @@ -2066,6 +2071,11 @@ please use factory methods provided in DataTypes.DateType + + CalendarIntervalType + org.apache.spark.unsafe.types.CalendarInterval + DataTypes.CalendarIntervalType + ArrayType java.util.List @@ -2220,6 +2230,11 @@ from pyspark.sql.types import * DateType() + + CalendarIntervalType + Not supported + Not supported + ArrayType list, tuple, or array @@ -2367,6 +2382,11 @@ from pyspark.sql.types import * "date" + + CalendarIntervalType + Not supported + Not supported + ArrayType vector or list