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

TypeError: undefined is not an object (evaluating 'clickhouseOptions.queryOptions') #482

Closed
bzed opened this issue Mar 20, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@bzed
Copy link

bzed commented Mar 20, 2024

Hi,

seems there was a bug in #361 -

54 |       return
55 |     }
56 |     const _queue = this.queue
57 |     this.queue = []
58 |     await rawRequest(this.statement, _queue.join('\n'), DATABASE_NAME(), { maxBodyLength: Infinity })
59 |   }
                                                                                     ^
TypeError: undefined is not an object (evaluating 'clickhouseOptions.queryOptions')
      at /app/lib/db/throttler.js:59:81
      at anonymous (native:1:1)
      at /app/lib/db/clickhouse.js:92:9
      at anonymous (native:1:1)
      at /app/lib/handlers/push.js:24:7

I think

const { getClickhouseUrl, samplesTableName, rawRequest } = require('./clickhouse')

should require clickhouse_options now?

Thanks,

Bernd

@lmangani lmangani added the bug Something isn't working label Mar 20, 2024
@akvlad
Copy link
Collaborator

akvlad commented Mar 21, 2024

@bzed apparently a bun problem. Will be fixed today. Please use the NodeJS version for now.

@akvlad
Copy link
Collaborator

akvlad commented Mar 21, 2024

@bzed everything fixed on 3.2.16 . Sorry for the inconvenience.

@lmangani
Copy link
Collaborator

Closing are resolved, please feel free to reopen if needed and thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants