get schema right after parse before interpertor execute #5625
Replies: 3 comments 2 replies
-
It's possible to retrieve the result schema before actually lauching the query task, but I found we don't have a proper API to achieve this. Do you have any idea on this? |
Beta Was this translation helpful? Give feedback.
-
put it more general: is in addition to the final result stream, handlers may need other infos, mainly 3 kinds
for now, all of these except about the API I can think of 2 styles:
|
Beta Was this translation helpful? Give feedback.
-
yes, the first version for result cache did not use the processor, to implement fast, it will be refactored later. but this is a potential need: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
currently, to make sure we get the correct schema, we need to wait until the first block is generated and use the schema in the block.
some times we may want to get the schema earlier. e.g.
@leiysky
Beta Was this translation helpful? Give feedback.
All reactions