mirror of
https://github.com/apache/druid.git
synced 2025-02-09 03:24:55 +00:00
7682b0b6b1
Refactor DataSource to have a getAnalysis method() This removes various parts of the code where while loops and instanceof checks were being used to walk through the structure of DataSource objects in order to build a DataSourceAnalysis. Instead we just ask the DataSource for its analysis and allow the stack to rebuild whatever structure existed.