ByteDance interview question

How the SQL indexer works