https://topbrochure.com/cant-use-the-output-of-redshift-catalog-querie/