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

Add validation for auto_create_table option #8

Merged
merged 2 commits into from
Jul 11, 2016
Merged

Conversation

sakama
Copy link
Owner

@sakama sakama commented Jul 11, 2016

When auto_create_table is true, both of read_capacity_units and write_capacity_units options are required.

Current version return following Exception when these options are not set.
This is not friendly for user. I fixed it.

Caused by: java.lang.IllegalStateException: Optional.get() cannot be called on an absent value

@sakama sakama changed the title Add validation Add validation for auto_create_table option Jul 11, 2016
@sakama sakama merged commit 1cf33de into master Jul 11, 2016
@sakama sakama deleted the add-validation branch July 11, 2016 04:00
xuantuan58 pushed a commit to xuantuan58/embulk-output-dynamodb that referenced this pull request Aug 5, 2021
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.

1 participant