Fix NPE in Cascading - use SQL query as TableTap id in case tableName is...

... null