Skip to content

Commit

Permalink
index
Browse files Browse the repository at this point in the history
  • Loading branch information
jakep-allenai committed Oct 22, 2024
1 parent 7c78676 commit 0a5c506
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pdelfin/birrpipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ def _initialize_tables(self):
self.cursor.execute("""
CREATE INDEX IF NOT EXISTS idx_path ON page_results(pdf_s3_path)
""")
self.cursor.execute("""
CREATE INDEX IF NOT EXISTS idx_inf_path ON page_results(inference_s3_path)
""")
self.cursor.execute("""
CREATE TABLE IF NOT EXISTS pdfs (
s3_path TEXT PRIMARY KEY,
Expand Down

0 comments on commit 0a5c506

Please sign in to comment.