Error while using regexp_split_to_table (Amazon Redshift)
问题 I have the same question as this: Splitting a comma-separated field in Postgresql and doing a UNION ALL on all the resulting tables Just that my 'fruits' column is delimited by '|'. When I try: SELECT yourTable.ID, regexp_split_to_table(yourTable.fruits, E'|') AS split_fruits FROM yourTable I get the following: ERROR: type "e" does not exist Q1. What does the E do? I saw some examples where E is not used. The official docs don't explain it in their "quick brown fox..." example. Q2. How do I