questdb.io icon indicating copy to clipboard operation
questdb.io copied to clipboard

Update - adding `touch()` function

Open amyshwang opened this issue 2 years ago • 7 comments

Describe the requested changes:

In the core repo QuestDB has touch function that is not yet documented:

TouchTableFunctionFactory.java

The task involves: Create a new section for the function, following the template.

Location: [/docs/reference/operators/rege/](https://questdb.io/docs/reference/function/meta/)

amyshwang avatar Sep 30 '22 09:09 amyshwang

Hey, I would love to work on this.

Nikhil-1503 avatar Oct 02 '22 09:10 Nikhil-1503

For inspiration check https://stackoverflow.com/questions/73959230/how-to-use-touch-functions

javier avatar Oct 05 '22 15:10 javier

@Nikhil-1503 please go ahead! Please check the template when documenting the function. Enjoy!

amyshwang avatar Oct 05 '22 16:10 amyshwang

Hi is someone still working on this or can I take this up?

prakritishetty avatar Oct 12 '22 03:10 prakritishetty

@PrakritiShetty I am working on it.

Nikhil-1503 avatar Oct 12 '22 03:10 Nikhil-1503

@amyshwang @javier The location for this function is meta.md, right? Also, could you please check if this is correct? Thank you. Screenshot (330)

Screenshot (329)

Nikhil-1503 avatar Oct 13 '22 13:10 Nikhil-1503

Seems right but the point of touch() is not about output. It is about warming up the data for the OS cache.

amyshwang avatar Oct 14 '22 17:10 amyshwang