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

feat(sql): implement "touch" function, useful to preload the data from disk into system page cache. #1305

Merged
merged 14 commits into from
Sep 13, 2021

Conversation

eugenels
Copy link
Contributor

No description provided.

Copy link
Collaborator

@ideoma ideoma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add tests please, move factory opening into init or execute method. Don't leave factories open, it's a memory leak

@eugenels eugenels changed the title Implement table memory touch function feat(sql): Implement "touch" function. Useful to preload the data from disk into system page cache. Sep 10, 2021
@eugenels eugenels changed the title feat(sql): Implement "touch" function. Useful to preload the data from disk into system page cache. feat(sql): implement "touch" function, useful to preload the data from disk into system page cache. Sep 10, 2021
@TurkerTunali
Copy link

Do we need any documantation for this feature?

@ideoma
Copy link
Collaborator

ideoma commented Sep 13, 2021

[PR Coverage check]

😍 pass : 10 / 10 (100.00%)

file detail

path covered line new line coverage
🔵 io/questdb/griffin/engine/functions/table/TouchTableFunctionFactory.java 8 8 100.00%
🔵 io/questdb/griffin/FunctionParser.java 2 2 100.00%

@bluestreak01 bluestreak01 merged commit 4f0d76f into master Sep 13, 2021
@bluestreak01 bluestreak01 deleted the touch-fn branch September 13, 2021 11:53
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

Successfully merging this pull request may close these issues.

None yet

5 participants