Class IcebergVersionFunction
- java.lang.Object
-
- org.apache.iceberg.spark.functions.IcebergVersionFunction
-
- All Implemented Interfaces:
java.io.Serializable
,org.apache.spark.sql.connector.catalog.functions.Function
,org.apache.spark.sql.connector.catalog.functions.UnboundFunction
public class IcebergVersionFunction extends java.lang.Object implements org.apache.spark.sql.connector.catalog.functions.UnboundFunction
A function for use in SQL that returns the current Iceberg version, e.g.SELECT system.iceberg_version()
will return a String such as "0.14.0" or "0.15.0-SNAPSHOT"- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IcebergVersionFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.spark.sql.connector.catalog.functions.BoundFunction
bind(org.apache.spark.sql.types.StructType inputType)
java.lang.String
description()
java.lang.String
name()
-
-
-
Method Detail
-
bind
public org.apache.spark.sql.connector.catalog.functions.BoundFunction bind(org.apache.spark.sql.types.StructType inputType)
- Specified by:
bind
in interfaceorg.apache.spark.sql.connector.catalog.functions.UnboundFunction
-
description
public java.lang.String description()
- Specified by:
description
in interfaceorg.apache.spark.sql.connector.catalog.functions.UnboundFunction
-
name
public java.lang.String name()
- Specified by:
name
in interfaceorg.apache.spark.sql.connector.catalog.functions.Function
-
-