Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jjh-kim committed Nov 27, 2024
1 parent 4412b1a commit d27e3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sbosc/controller/initializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def fetch_metadata(self, redis_data):
metadata.pk_column = f"`{cursor.fetchone()[0]}`"
self.logger.info("Saved primary key column to Redis")

# Get max id
# Get max PK
cursor.execute('''
SELECT MAX(%s) FROM %s.%s
''' % (metadata.pk_column, metadata.source_db, metadata.source_table))
Expand Down

0 comments on commit d27e3a7

Please sign in to comment.