Skip to content

Conversation

civitaspo
Copy link
Owner

@civitaspo civitaspo commented Mar 8, 2020

  • [Deprecated] The original operation implementation is deprecated, so the below options become deprecated.
    • operation: Use query option or scan option instead.
    • limit: Use query.batch_size option or query.batch_size instead.
    • scan_limit: Use query.batch_size option or query.batch_size instead.
    • record_limit: Use query.limit option or query.limit instead.
    • filters: Use query.filter_expression option or query.filter_expression instead.
  • [New Feature] Introduce new options scan, query to support all configurations for Dynamodb Scan/Query Operation API except legacy configurations.
    • NOTE: This operation stores null AttributeValue as null, though, in the deprecated operation, null is converted arbitrarily. (string -> empty string, long -> 0, double -> 0.0, boolean -> false)
    • NOTE: This operation stores timestamp values by parsing user-defined format, though the deprecated operation skips storing values when the column type is defined as timestamp without any errors.
    • NOTE: This operation can convert the specific type of the attribute that you specify in column.attribute_type to Embulk types, though the deprecated operation can only convert Embulk types that match a particular Dynamodb Attribute type.
  • [Enhancement] You can store each dynamodb item as JSON, so "columns" option becomes optional.
  • [Enhancement] You can specify the AttributeValue type (like "S", "N", "SS" and so on) used when converting AttributeValue to Embulk type.
  • [BugFix] Avoid NullPointerException when Type N AttributeValue has null in the deprecated operation.
  • [Enhancement] Examples work without real Dynamodb.
  • [Enhancement] Add more examples.

…or Scan/Query Request API except legacy ones
…nput.dynamodb.operation.DynamodbAttributeValue
@civitaspo civitaspo force-pushed the renew-operations branch 4 times, most recently from 1a4b546 to c3c7699 Compare March 8, 2020 13:50
@civitaspo civitaspo merged commit 5484ee9 into master Mar 8, 2020
@civitaspo civitaspo deleted the renew-operations branch March 8, 2020 14:01
@civitaspo civitaspo mentioned this pull request Mar 8, 2020
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