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

Variable names get trimmed to 1024 characters without proper warning #2504

Open
DIvanov503 opened this issue Aug 5, 2024 · 3 comments
Open

Comments

@DIvanov503
Copy link

DIvanov503 commented Aug 5, 2024

When a variable is longer than 1024 characters, Souffle seems to just take the first 1024 characters as its name, which may result in a misleading name clash error message. A more user-friendly message should warn about exceeding the hard limit on the variable length.

@DIvanov503
Copy link
Author

Closed the issue by mistake

@DIvanov503 DIvanov503 reopened this Aug 5, 2024
@quentin
Copy link
Member

quentin commented Aug 28, 2024

That might be a limitation of the flex lexer. Not sure.

@DIvanov503
Copy link
Author

DIvanov503 commented Aug 28, 2024

Please keep in mind that there are also the OS limits on the filename length, which can be a problem for relation I/O

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

No branches or pull requests

2 participants