-
Notifications
You must be signed in to change notification settings - Fork 11
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
Conversation
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.
val key = entry.getKey() | ||
val value = entry.getValue() |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overwite -> overwrite?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes.
src/test/scala/com/exasol/cloudetl/bucket/DeltaFormatBucketTest.scala
Outdated
Show resolved
Hide resolved
Co-Authored-By: Anastasiia Sergienko <46891819+AnastasiiaSergienko@users.noreply.github.com>
Fixes #31.