This was reproduced on nightly.
create view blown as select regexp_replace(description,"\\\\'","'") as descriptionf, * from sample_07;
After creating a view that uses regexp_replace we are getting the following error:
ERROR: AnalysisException: Failed to load metadata for table: 'customers_view'
CAUSED BY: TableLoadingException: Failed to parse view-definition statement of view: netsuite.customers_view
Screenshot is attached.
This is likely related to