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

error hint for 'limit is out of date #145

Open
adavies42 opened this issue Aug 28, 2023 · 2 comments
Open

error hint for 'limit is out of date #145

adavies42 opened this issue Aug 28, 2023 · 2 comments

Comments

@adavies42
Copy link

the remote end throwing 'limit results in the following being printed:

An error occurred during execution of the query.
The server sent the response:
limit
Studio Hint: Possibly this error refers to tried to generate a list longer than 2,000,000,000

this is out of date for modern q; for current meanings, see https://code.kx.com/q/basics/errors/#runtime-errors

@gyorokpeter
Copy link

How about the other errors that changed meanings between versions like branch or locals?

If the user is still connecting to a 2.x instance, this can be confusing because they see that the error message says "110 max" but they are getting it for a function with only 25 locals.

We could complicate things by requesting .z.K from the server, and adjusting the error hints depending on what version is returned, but that assumes that the .z.K query is not blocked by a security check.

@adavies42
Copy link
Author

how precisely can you guess the q version from the ipc handshake?

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