Add MongoDB query utilities and update batch size for document insertion

This commit is contained in:
2026-02-06 14:49:56 -05:00
parent 1283bd282a
commit 8ed2a77365
5 changed files with 406 additions and 4 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ def create_postgres_table_from_mongo(
class MongoDocumentInserter:
"""Insert MongoDB documents into PostgreSQL tables with type conversion."""
def __init__(self, batch_size: int = 1000):
def __init__(self, batch_size: int = 10000):
"""
Initialize the document inserter.