When exporting data into an ORC File Format, you might get Java out-of-memory errors when there are large text columns. To work around this limitation, export only a subset of the columns. Reference: https://docs.microsoft.com/en-us/azure/sql-data-warehouse/guidance-for-loading-data