Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Delta format import integration #78

Merged
merged 6 commits into from
Mar 16, 2020

Conversation

morazow
Copy link
Contributor

@morazow morazow commented Mar 12, 2020

Fixes #31.

Currently, the list of files for the latest snapshot is obtained in
metadata udf. This done using locally running Spark session and
DeltaLog.

However, for accessing the remote storage blobs, e.g, S3, Azure Blob, an
additional configuration settings will be required.
docs/storage/delta_format.md Outdated Show resolved Hide resolved
docs/storage/delta_format.md Show resolved Hide resolved
docs/storage/delta_format.md Outdated Show resolved Hide resolved
src/main/scala/com/exasol/cloudetl/bucket/Bucket.scala Outdated Show resolved Hide resolved
Comment on lines 103 to 104
val key = entry.getKey()
val value = entry.getValue()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do the key and value represent? It's not clear from names

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a HadoopConfiguration, that stores configuration parameters as Map.Entry[String, String].
Going to rename them to hadoopConfigKey/Value.

assert(set === Set(1, 2, 3, 4, 5))
}

test("stream returns records from the overwite delta snapshot") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overwite -> overwrite?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

morazow and others added 2 commits March 12, 2020 12:12
Co-Authored-By: Anastasiia Sergienko <46891819+AnastasiiaSergienko@users.noreply.github.com>
@morazow morazow merged commit 9b7be8e into master Mar 16, 2020
@morazow morazow deleted the feature/#31-delta-format-support branch June 21, 2020 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Delta format
2 participants