-
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b98f72a
commit 6ec9b47
Showing
5 changed files
with
88 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# DeltaFileFormatWriter | ||
|
||
## Write Data Out { #write } | ||
|
||
```scala | ||
write( | ||
sparkSession: SparkSession, | ||
plan: SparkPlan, | ||
fileFormat: FileFormat, | ||
committer: FileCommitProtocol, | ||
outputSpec: OutputSpec, | ||
hadoopConf: Configuration, | ||
partitionColumns: Seq[Attribute], | ||
bucketSpec: Option[BucketSpec], | ||
statsTrackers: Seq[WriteJobStatsTracker], | ||
options: Map[String, String], | ||
numStaticPartitionCols: Int = 0): Set[String] | ||
``` | ||
|
||
`write`...FIXME | ||
|
||
--- | ||
|
||
`write` is used when: | ||
|
||
* `TransactionalWrite` is requested to [write data out](TransactionalWrite.md#writeFiles) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: DeltaOptimizedWriterExec | ||
--- | ||
|
||
# DeltaOptimizedWriterExec Physical Operator | ||
|
||
`DeltaOptimizedWriterExec` is...FIXME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# IcebergCompat | ||
|
||
## knownVersions { #knownVersions } | ||
|
||
`IcebergCompat` defines a collection of Iceberg Compatibility-related table properties and the versions: | ||
|
||
Table Property | ID | ||
-|- | ||
[delta.enableIcebergCompatV1](../table-properties/DeltaConfigs.md#ICEBERG_COMPAT_V1_ENABLED) | 1 | ||
[delta.enableIcebergCompatV2](../table-properties/DeltaConfigs.md#ICEBERG_COMPAT_V2_ENABLED) | 2 | ||
|
||
## isAnyEnabled { #isAnyEnabled } | ||
|
||
```scala | ||
isAnyEnabled( | ||
metadata: Metadata): Boolean | ||
``` | ||
|
||
`isAnyEnabled` checks if any version of the Iceberg Compatibility (table properties) is enabled (`true`) in the given [Metadata](../Metadata.md). | ||
|
||
--- | ||
|
||
`isAnyEnabled` is used when: | ||
|
||
* `UniversalFormat` is requested to [enforceIcebergInvariantsAndDependencies](UniversalFormat.md#enforceIcebergInvariantsAndDependencies) | ||
* `TransactionalWrite` is requested to [write data out](../TransactionalWrite.md#writeFiles) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters