log the full stack trace for exceptions
handle null column names in results from distributed query