Skip to content

Misc dynamodb integration test improvements #1046

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

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

mrk-its
Copy link
Contributor

@mrk-its mrk-its commented Apr 1, 2022

  • add run_id column to test dataset (it allows for parallel test runs with proper row counting)
  • general cleanup

mrk-its and others added 7 commits March 15, 2022 15:30
… tests

* DynamoDBLogStore: initial version

* - Refactoring
- Refactor and reformat
- Add test cases
- Update after review
- Add DynamoDB tests
- Fix test name
- Adopt new tests
- Add docker support for tests

Ignore DynamoDB test because of CircleCI doesn't support testcontainers in docker

* bugfixes

* move to contribs

* add tests

* store temp files in .temp directory

* scala style, method rename

* revert .circleci changes, update dynamodb_logstore.py

* make AWS credentials configurable

* move example to contrib subdir

* refactoring

* add python integration test

* add --jars option

* change log levels

* change the test skipping logic and adding logging

* after-review changes

* store tablePath in db instead of _delta_log path

* add example invocation of integration test

* move FailingDynamoDBLogStore to test package

* refactor error injection

* changes after review

* store temp files inside of _delta_log directory

* linting

* fix docs

* remove unnecessary logic from getTablePath, fix tests

* minor fix

* move to storage-dynamodb

* storage-dynamodb project: add TODO, linting

Co-authored-by: Mateusz Sabat <[email protected]>
Co-authored-by: Lukasz_P <[email protected]>
Co-authored-by: L-Po <[email protected]>
* fixed

* update example command; add TODOs to build.sbt

* fix order of repos argument in spark submit cmd
* initial refactoring

* save work

* clean up

* use environmental variable for logstore selection

* rename args
* java refactor

* auto table creation

* auto-create dynamodb table

* minor changes:
 - create dynamodb client in constructor
 - do not apply extra filtering in listFrom
 - inline comments
 - add docs
@mrk-its mrk-its force-pushed the integration_test2 branch from 8ada7fb to c78f1e5 Compare April 1, 2022 16:37
@mrk-its mrk-its marked this pull request as draft April 1, 2022 17:27
@mrk-its mrk-its force-pushed the integration_test2 branch from c78f1e5 to 6365248 Compare April 1, 2022 17:30
@scottsand-db
Copy link
Collaborator

@mrk-its if this PR is ready for review can you remove the Draft status?

@mrk-its mrk-its marked this pull request as ready for review April 1, 2022 18:00
@mrk-its
Copy link
Contributor Author

mrk-its commented Apr 1, 2022

@mrk-its if this PR is ready for review can you remove the Draft status?

done

scottsand-db and others added 2 commits April 1, 2022 14:30
* minor cleanup

* add print statement to dynamodb_logstore.py

* add comment to build.sbt on how to run FailingDynamoDBLogStore

* rename api conf keys

* Update dynamodb_logstore.py
@scottsand-db
Copy link
Collaborator

will review once conflicts are resolved

scottsand-db and others added 2 commits April 1, 2022 16:12
- update build.sbt to remove aws sdk from contribs
- update BaseExternalLogStore to use FileNameUtils
 - add run_id column
 - cleanup
@mrk-its mrk-its force-pushed the integration_test2 branch from 6365248 to 8407106 Compare April 4, 2022 14:49
@scottsand-db scottsand-db changed the base branch from dynamodb_logstore_java_feature_branch to master April 13, 2022 18:30
@scottsand-db
Copy link
Collaborator

@mrk-its can you please just rebase the commit 8407106 on top of master?

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.

3 participants