LPS-47028 Fix SampleSQLBuilder caused by LPS-34695