[SPARK-30547][SQL][FOLLOWUP] Update since anotation for CalendarInterval class
### What changes were proposed in this pull request? Mark `CalendarInterval` class with `since 3.0.0`. ### Why are the changes needed? https://www.oracle.com/technetwork/java/javase/documentation/index-137868.html#since This class is the first time going to the public, the annotation is the first time to add, and we don't want people to get confused and try to use it 2.4.x. ### Does this PR introduce any user-facing change? no ### How was this patch tested? no Closes #27299 from yaooqinn/SPARK-30547-F. Authored-by: Kent Yao <yaooqinn@hotmail.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
This commit is contained in:
parent
e170422f74
commit
730388b369
|
@ -41,7 +41,7 @@ import static org.apache.spark.sql.catalyst.util.DateTimeConstants.*;
|
|||
* they are two separated fields from microseconds. One month may be equal to 28, 29, 30 or 31 days
|
||||
* and one day may be equal to 23, 24 or 25 hours (daylight saving).
|
||||
*
|
||||
* @since 1.5.0
|
||||
* @since 3.0.0
|
||||
*/
|
||||
@Unstable
|
||||
public final class CalendarInterval implements Serializable {
|
||||
|
|
Loading…
Reference in a new issue