Skip to content

Commit

Permalink
fix log sync ref and log projection test name
Browse files Browse the repository at this point in the history
  • Loading branch information
kspeer committed Feb 1, 2022
1 parent ca53828 commit a0e8cf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tap_dynamodb/sync_strategies/log_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def sync(config, state, stream):

md_map = metadata.to_map(stream['metadata'])
projection = metadata.get(md_map, (), 'tap-mongodb.projection')
expression = metadata.get(md_map, (), 'tap-dynamodb.expression-attribute')
expression = metadata.get(md_map, (), 'tap-dynamodb.expression-attributes')
if projection is not None:
projection = [x.strip().split('.') for x in projection.split(',')]
if expression:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dynamodb_log_based_projections.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def generate_items(self, num_items, start_key=0):

@staticmethod
def name():
return "tap_tester_dynamodb_log_based_projections"
return "tt_dynamodb_log_projections"

def test_run(self):
(table_configs, conn_id, expected_streams) = self.pre_sync_test()
Expand Down

0 comments on commit a0e8cf7

Please sign in to comment.