Issue #3232214 by Matroskeen: Table source plugin - validate the sql table before executing the query