What does this function mean?


#1

Whenever i use nvprof, this function is always in the top place.
multifrag_query_hoisted_literals


I saw the code in mapd-core, but I don’t understand it. Can you explain?


#2

We generate native code for the queries and all of it is under this function, so it’s normal to spend a lot of time in this function. The query_stub_hoisted_literals function gets replaced with the generated code when the query runs and multifrag_query_hoisted_literals calls it for every fragment.