Package org.apache.iceberg.spark
Class SparkUtil
- java.lang.Object
-
- org.apache.iceberg.spark.SparkUtil
-
public class SparkUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileIOserializableFileIO(Table table)static voidvalidatePartitionTransforms(PartitionSpec spec)Check whether the partition transforms in a spec can be used to write data.
-
-
-
Method Detail
-
validatePartitionTransforms
public static void validatePartitionTransforms(PartitionSpec spec)
Check whether the partition transforms in a spec can be used to write data.- Parameters:
spec- a PartitionSpec- Throws:
java.lang.UnsupportedOperationException- if the spec contains unknown partition transforms
-
-