The invention discloses a heterogeneous data source visual query method. A user selects a query range on a foreground visual interface; whether the selected data source is loaded into a presto clusteror not is judged; if the selected data source is not loaded to the presto cluster, a to-be-loaded data source is added in the presto cluster; a query statement is sent to the presto cluster, and query is completed within the selected query range; detecting whether a plug-in required by a to-be-loaded data source is a built-in data source plug-in in a preload cluster, and if so, dynamically loading a configuration file in a calog folder by the preload cluster; And if not, creating the plug-in of the to-be-loaded data source, putting the plug-in into a Preto cluster, loading the configuration file in the calog folder, and completing the loading of the data source. According to the method, different data source basic information is configured, operation of a graphical interface is adopted, adata source is dynamically loaded, and query of a presto-based heterogeneous data source is achieved.