Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: relation "documents" does not exist #14

Open
akhileshsharma99 opened this issue Feb 22, 2025 · 1 comment
Open

bug: relation "documents" does not exist #14

akhileshsharma99 opened this issue Feb 22, 2025 · 1 comment

Comments

@akhileshsharma99
Copy link

PostgreSQL Table Error: "documents" relation does not exist

Error Description

Receiving a PostgreSQL error indicating that the "documents" table does not exist in the database.

Error Details

npm run benchmark

> [email protected] benchmark
> ts-node src/index.ts

Error querying data from PostgreSQL: error: relation "documents" does not exist
    at /... /node_modules/pg-pool/index.js:45:11
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  length: 109,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '371',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '1449',
  routine: 'parserOpenTable'
}
error: relation "documents" does not exist
    at /... /node_modules/pg-pool/index.js:45:11
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  length: 109,
  severity: 'ERROR',
  code: '42P01',
  detail: undefined,
  hint: undefined,
  position: '371',
  internalPosition: undefined,
  internalQuery: undefined,
  where: undefined,
  schema: undefined,
  table: undefined,
  column: undefined,
  dataType: undefined,
  constraint: undefined,
  file: 'parse_relation.c',
  line: '1449',
  routine: 'parserOpenTable'
}

Steps to Reproduce

  1. npm i
  2. npm run benchmark

Also tired:

  1. npm i
  2. npx prisma migrate dev
  3. npm run benchmark

Expected Behavior

The benchmark should run

@kailingding
Copy link
Contributor

the benchmark framework also supports loading data from a local directory.

feel free to download the dataset here, and add it to data folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants