LPS-37672 Decouple SampleSQLBuilder and DataFactory.