The invention relates to the technical field of
data analysis, in particular to a multi-mode heterogeneous
data query method which comprises the following steps: receiving a
query statement sent by a user side, performing
lexical analysis on the
query statement through an analyzer, and performing semantic check on the analyzed
query statement to obtain an initial query statement; sending the initial query statement to a query optimizer to generate a corresponding query
syntax tree; after the query
syntax tree is sent to a Data-speed engine for prompt word
engineering processing, indexing is carried out in combination with an index vector
library to obtain an index result, and an
execution plan is intelligently predicted based on the index result; inputting the intelligent prediction
execution plan into a large
language model system, outputting an execution code corresponding to a current execution task and operators of an available
instruction set corresponding to different execution tasks in real time, and introducing an
entity identifier into an attention mechanism of the large
language model system for supervision and fine adjustment; and calling an operator corresponding to the execution code through a Data-speed JIT generator, and generating an execution result based on the operator.