Skip to content

Commit

Permalink
add connector
Browse files Browse the repository at this point in the history
  • Loading branch information
MindaugasN committed Jan 8, 2024
1 parent 74be535 commit bf07eaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tap_cassandra/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def get_records(self, context):
cql = f"select {selected_column_string} from {self.name.split('-')[1]}"

if self.config.get('skip_hot_partitions'):
for row in self.execute_with_skip(cql, self.catalog_entry['key_properties'][0]):
for row in self.connector.execute_with_skip(cql, self.catalog_entry['key_properties'][0]):
yield row
else:
for row in self.execute(cql):
for row in self.connector.execute(cql):
yield row

0 comments on commit bf07eaf

Please sign in to comment.