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

executable engine - respect limit #31064

Open
mikeTWC1984 opened this issue Nov 4, 2021 · 1 comment
Open

executable engine - respect limit #31064

mikeTWC1984 opened this issue Nov 4, 2021 · 1 comment

Comments

@mikeTWC1984
Copy link

Describe the unexpected behaviour

LIMIT clause has no effect on executable

select * from executable('myscript', 'TabSeparated', 'value String')
limit 100 

execution time is the same with or without LIMIT clause

Expected behavior

Child process should be killed once LIMIT is reached (limit 100 should act like head -n 100)

@alexey-milovidov
Copy link
Member

Agree, we can close the pipe if limit is reached.

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